From e33f1ff77b5cda352abd3d86c90b04510c5bb107 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 19 Apr 2024 21:13:05 +0200 Subject: Fix: Rift NPC shops not using Motes (#1494) --- .../at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt index e043f9d57..b67c03ad3 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -271,7 +271,7 @@ class HideNotClickableItems { private fun hideRiftMotesGrubber(chestName: String, stack: ItemStack): Boolean { if (!RiftAPI.inRift()) return false - if (chestName != "Motes Grubber") return false + if (chestName != "Motes Grubber" && !ShiftClickNPCSell.inInventory) return false showGreenLine = true @@ -477,6 +477,7 @@ class HideNotClickableItems { } private fun hideNpcSell(stack: ItemStack): Boolean { + if (RiftAPI.inRift()) return false if (!ShiftClickNPCSell.inInventory) return false if (VisitorAPI.inInventory) return false showGreenLine = true -- cgit