"Fix" world time.... (#693)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2024-10-29 20:22:24 -07:00
1 parent e43cd6f18e
commit 538b38898c
4 files changed
+8 -5

No files matched your search

@@ -109,7 +109,10 @@ public abstract class IrisGuiSlot extends GuiSlot {
this.amountScrolled += ((float) mouseY - this.initialClickY);
this.initialClickY = mouseY;
} else if (this.mc.currentScreen != null ){
for (; !this.mc.gameSettings.touchscreen && Mouse.next(); this.mc.currentScreen.handleMouseInput()) {
while (!this.mc.gameSettings.touchscreen && Mouse.next()) {
if(this.mc.currentScreen != null) {
this.mc.currentScreen.handleMouseInput();
}
int dWheel = Mouse.getEventDWheel();
if (dWheel != 0) {