diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-18 16:37:01 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-18 16:37:01 +0200 |
commit | 24c2ce6ca9962123bdc1a11ff49e3c5b2d18e148 (patch) | |
tree | a0fe580f418f6444716b05feb2e9f1d0a78cff0e /src/main/java/at/hannibal2/skyhanni/features | |
parent | ac14bdff24f7ac437c71ac358d842250c092017d (diff) | |
download | skyhanni-24c2ce6ca9962123bdc1a11ff49e3c5b2d18e148.tar.gz skyhanni-24c2ce6ca9962123bdc1a11ff49e3c5b2d18e148.tar.bz2 skyhanni-24c2ce6ca9962123bdc1a11ff49e3c5b2d18e148.zip |
No longer detecting shift clicking in visitor inventories as "refusing a visitor"
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index e5a113001..97616fe86 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -201,6 +201,7 @@ class GardenVisitorFeatures { @SubscribeEvent(priority = EventPriority.HIGH) fun onStackClick(event: SlotClickEvent) { if (!inVisitorInventory) return + if (event.clickType != 0) return val visitor = getVisitor(lastClickedNpc) ?: return |