From 20081af74fd53f35746ab0d5c974bb5db92bec3b Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Fri, 13 Sep 2024 20:16:41 +0200 Subject: Fix: Mouse Keys in Wardrobe (#2506) --- src/main/java/at/hannibal2/skyhanni/data/GuiData.kt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/data') diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt index 38ac99d1b..5f2ca510b 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiData.kt @@ -36,6 +36,9 @@ object GuiData { @SubscribeEvent(priority = EventPriority.HIGH) fun onGuiClick(event: GuiScreenEvent.MouseInputEvent.Pre) { + + if (CustomWardrobeKeybinds.allowMouseClick()) return + if (preDrawEventCancelled) event.isCanceled = true } -- cgit