aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-09-13 20:16:41 +0200
committerGitHub <noreply@github.com>2024-09-13 20:16:41 +0200
commit20081af74fd53f35746ab0d5c974bb5db92bec3b (patch)
tree8c297eb0a6fd36487e97b21eb1f34b2239ebb43a /src/main/java/at/hannibal2/skyhanni/data
parent326c632ed18b7677c72d86497e54086c9b409e9c (diff)
downloadskyhanni-20081af74fd53f35746ab0d5c974bb5db92bec3b.tar.gz
skyhanni-20081af74fd53f35746ab0d5c974bb5db92bec3b.tar.bz2
skyhanni-20081af74fd53f35746ab0d5c974bb5db92bec3b.zip
Fix: Mouse Keys in Wardrobe (#2506)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/GuiData.kt3
1 files changed, 3 insertions, 0 deletions
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
}