aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenDeskInSBMenu.kt1
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")
}