From 24c2ce6ca9962123bdc1a11ff49e3c5b2d18e148 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 18 Apr 2023 16:37:01 +0200 Subject: No longer detecting shift clicking in visitor inventories as "refusing a visitor" --- .../hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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 -- cgit