aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt9
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