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/visitor/VisitorRewardWarning.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorRewardWarning.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorRewardWarning.kt
index e5df0c050..9edc2336f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorRewardWarning.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorRewardWarning.kt
@@ -48,6 +48,7 @@ class VisitorRewardWarning {
fun onStackClick(event: GuiContainerEvent.SlotClickEvent) {
if (!VisitorAPI.inInventory) return
val stack = event.slot?.stack ?: return
+ if (event.clickType != 0) return
val visitor = VisitorAPI.getVisitor(lastClickedNpc) ?: return
val blockReason = visitor.blockReason