diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-07 01:59:53 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-07 01:59:53 +0100 |
| commit | 81e2e14e71eb49b531562273ca9d306f3d76b530 (patch) | |
| tree | 7c3391bae10d2ed855b2b465bf861c0794ed01e9 | |
| parent | ac0c2ee4e8e17492feceb0007ccab4a6ddfc27da (diff) | |
| download | SkyHanni-81e2e14e71eb49b531562273ca9d306f3d76b530.tar.gz SkyHanni-81e2e14e71eb49b531562273ca9d306f3d76b530.tar.bz2 SkyHanni-81e2e14e71eb49b531562273ca9d306f3d76b530.zip | |
No longer blocking the sell of bazaar items to NPC when on ironman, stranded or bingo mode.
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6de968e79..4eac20119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Changes + Don't render overlays when tab list key is pressed. ++ No longer blocking the sell of bazaar items to NPC when on ironman, stranded or bingo mode. ### Fixes + Dungeon level color fixed wrong colors. 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 78735b5f9..0202566a0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -306,6 +306,12 @@ class HideNotClickableItems { } if (!ItemUtils.isRecombobulated(stack)) { + if (LorenzUtils.noTradeMode) { + if (BazaarApi.isBazaarItem(stack)) { + return false + } + } + if (hideNpcSellFilter.match(name)) return false val id = stack.getInternalName() |
