diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-04-18 19:01:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 19:01:12 +0200 |
commit | 31add9c6dce3e630398077c7d6396256be3c752e (patch) | |
tree | 43a60bb0a18aedb35ae5abab7d8ef020649c9163 /src/main/java | |
parent | b1a5396e46a5c3fd6bbabdcaac106255731a200e (diff) | |
download | skyhanni-31add9c6dce3e630398077c7d6396256be3c752e.tar.gz skyhanni-31add9c6dce3e630398077c7d6396256be3c752e.tar.bz2 skyhanni-31add9c6dce3e630398077c7d6396256be3c752e.zip |
Fix: Shift click visitor buttons (#1475)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorRewardWarning.kt | 1 |
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 |