diff options
author | Luna <me@alexia.lol> | 2024-04-19 21:13:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 21:13:05 +0200 |
commit | e33f1ff77b5cda352abd3d86c90b04510c5bb107 (patch) | |
tree | cbe12e0699cc4812a55490d39f28d8c59ac97cdb | |
parent | 40309bc8acb7afb37bbc99d7a758c24ffd962b4c (diff) | |
download | skyhanni-e33f1ff77b5cda352abd3d86c90b04510c5bb107.tar.gz skyhanni-e33f1ff77b5cda352abd3d86c90b04510c5bb107.tar.bz2 skyhanni-e33f1ff77b5cda352abd3d86c90b04510c5bb107.zip |
Fix: Rift NPC shops not using Motes (#1494)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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 |