Skip to content

Commit 05cb67a

Browse files
ghzdudeYannickMG
authored andcommitted
high priority (CleanroomMC#102)
(cherry picked from commit 1fc9c37)
1 parent b2512ac commit 05cb67a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/cleanroommc/modularui/screen/ClientScreenHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public void onGuiInit(GuiScreenEvent.InitGuiEvent.Post event) {
106106
OverlayStack.foreach(ms -> ms.onResize(event.gui.width, event.gui.height), false);
107107
}
108108

109-
@SubscribeEvent(priority = EventPriority.LOW)
109+
@SubscribeEvent(priority = EventPriority.HIGH)
110110
public void onGuiInputLow(KeyboardInputEvent.Pre event) throws IOException {
111111
defaultContext.updateEventState();
112112
if (checkGui(event.gui)) currentScreen.getContext().updateEventState();
@@ -116,7 +116,7 @@ public void onGuiInputLow(KeyboardInputEvent.Pre event) throws IOException {
116116
}
117117
}
118118

119-
@SubscribeEvent(priority = EventPriority.LOW)
119+
@SubscribeEvent(priority = EventPriority.HIGH)
120120
public void onGuiInputLow(MouseInputEvent.Pre event) throws IOException {
121121
defaultContext.updateEventState();
122122
if (checkGui(event.gui)) currentScreen.getContext().updateEventState();

0 commit comments

Comments
 (0)