mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-18 19:39:09 +00:00
null guard
This commit is contained in:
1 parent
8c90f79c17
commit
4bbf39eb4d
1 file changed
+1
-1
@@ -108,7 +108,7 @@ public abstract class IrisGuiSlot extends GuiSlot {
|
||||
if (scrolling) {
|
||||
this.amountScrolled += ((float) mouseY - this.initialClickY);
|
||||
this.initialClickY = mouseY;
|
||||
} else {
|
||||
} else if (this.mc.currentScreen != null ){
|
||||
for (; !this.mc.gameSettings.touchscreen && Mouse.next(); this.mc.currentScreen.handleMouseInput()) {
|
||||
int dWheel = Mouse.getEventDWheel();
|
||||
|
||||
|
||||
Reference in new issue
Block a user