aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 01:59:53 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 01:59:53 +0100
commitc0626bdc53ef5184279241a9110daa1696ac27e7 (patch)
tree7c3391bae10d2ed855b2b465bf861c0794ed01e9
parent46a5b1c258fce1f22d06c0cee20c9d43032a988d (diff)
downloadskyhanni-c0626bdc53ef5184279241a9110daa1696ac27e7.tar.gz
skyhanni-c0626bdc53ef5184279241a9110daa1696ac27e7.tar.bz2
skyhanni-c0626bdc53ef5184279241a9110daa1696ac27e7.zip
No longer blocking the sell of bazaar items to NPC when on ironman, stranded or bingo mode.
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt6
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()