diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-09 21:42:23 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-09 21:42:23 +0100 |
commit | bbba0adc2ee9e6e1034ca79c8b27cbe08599e1e8 (patch) | |
tree | fa709976ad635e31fb1d3266ca89ba0b3f7d5cda /src/main/java/at/hannibal2 | |
parent | cced2b91257f11e72b6a4e054c278909c76e9154 (diff) | |
download | skyhanni-bbba0adc2ee9e6e1034ca79c8b27cbe08599e1e8.tar.gz skyhanni-bbba0adc2ee9e6e1034ca79c8b27cbe08599e1e8.tar.bz2 skyhanni-bbba0adc2ee9e6e1034ca79c8b27cbe08599e1e8.zip |
cancel click on desk item.
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt index fc060bad5..e62591e47 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt @@ -43,6 +43,7 @@ class GardenDeskInSBMenu { @SubscribeEvent(priority = EventPriority.HIGH) fun onStackClick(event: SlotClickEvent) { if (showItem && event.slotId == 10) { + event.isCanceled = true val thePlayer = Minecraft.getMinecraft().thePlayer thePlayer.sendChatMessage("/desk") } |