Skip to content

Commit 1fc9c37

Browse files
authored
high priority (#102)
1 parent 0224137 commit 1fc9c37

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
@@ -98,7 +98,7 @@ public static void onGuiInit(GuiScreenEvent.InitGuiEvent.Post event) {
9898
OverlayStack.foreach(ms -> ms.onResize(event.getGui().width, event.getGui().height), false);
9999
}
100100

101-
@SubscribeEvent(priority = EventPriority.LOW)
101+
@SubscribeEvent(priority = EventPriority.HIGH)
102102
public static void onGuiInputLow(GuiScreenEvent.KeyboardInputEvent.Pre event) throws IOException {
103103
defaultContext.updateEventState();
104104
if (checkGui(event.getGui())) currentScreen.getContext().updateEventState();
@@ -107,7 +107,7 @@ public static void onGuiInputLow(GuiScreenEvent.KeyboardInputEvent.Pre event) th
107107
}
108108
}
109109

110-
@SubscribeEvent(priority = EventPriority.LOW)
110+
@SubscribeEvent(priority = EventPriority.HIGH)
111111
public static void onGuiInputLow(GuiScreenEvent.MouseInputEvent.Pre event) throws IOException {
112112
defaultContext.updateEventState();
113113
if (checkGui(event.getGui())) currentScreen.getContext().updateEventState();

0 commit comments

Comments
 (0)