diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 13:37:50 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 13:37:50 +0200 |
commit | ea0b8e8a8d255a0bf9385034cf21f9d60de7643a (patch) | |
tree | 8c715b0a7f1657a7a8ac00a683a79b09064fff69 /src | |
parent | 6e8b4eba4d96fa71e5ed7263245ca9f19490d244 (diff) | |
download | skyhanni-ea0b8e8a8d255a0bf9385034cf21f9d60de7643a.tar.gz skyhanni-ea0b8e8a8d255a0bf9385034cf21f9d60de7643a.tar.bz2 skyhanni-ea0b8e8a8d255a0bf9385034cf21f9d60de7643a.zip |
Reverted a tiny part of walkers code cleanup to make the hide npc sell feature work for classic profile again.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 9 |
1 files changed, 6 insertions, 3 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 08011cf0f..7843314ac 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -337,6 +337,7 @@ class HideNotClickableItems { if (!chestName.startsWith("Sack of Sacks")) return false if (ItemUtils.isSkyBlockMenuItem(stack)) return false + val name = stack.cleanName() reverseColor = true if (ItemUtils.isSack(stack)) return false @@ -399,9 +400,11 @@ class HideNotClickableItems { return true } - if (!ItemUtils.isRecombobulated(stack) && LorenzUtils.noTradeMode) { - if (BazaarApi.isBazaarItem(stack)) { - return false + if (!ItemUtils.isRecombobulated(stack)) { + if (LorenzUtils.noTradeMode) { + if (BazaarApi.isBazaarItem(stack)) { + return false + } } if (hideNpcSellFilter.match(name)) return false |