aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-27 13:58:02 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-27 13:58:02 +0100
commit07cc58d5f753e353586b223b88011632de5d526f (patch)
tree448463215d6ace19b9541709d7ff3a02fd196233
parentb2536ac320cdb8de06c91ce04326ab004901ef1b (diff)
downloadskyhanni-07cc58d5f753e353586b223b88011632de5d526f.tar.gz
skyhanni-07cc58d5f753e353586b223b88011632de5d526f.tar.bz2
skyhanni-07cc58d5f753e353586b223b88011632de5d526f.zip
Fixed Crab Hat of Celebration not being detected as an accessory correctly.
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4e09a00c..25837e279 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -32,6 +32,7 @@
+ Hopefully fixed incompatibility with skytils' hide cheap coins feature.
+ Fixed dungeon milestone messages getting wrongfully formatted.
+ Fixed bazaar features not working for items with an - (turbo farming books and triple strike)
++ Fixed Crab Hat of Celebration not being detected as an accessory correctly.
## Version 0.16 (2023-02-11)
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 685512cd1..e9e570faf 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt
@@ -274,7 +274,7 @@ class HideNotClickableItems {
if (ItemUtils.isSkyBlockMenuItem(stack)) return false
reverseColor = true
- if (stack.getLore().any { it.contains("ACCESSORY") }) return false
+ if (stack.getLore().any { it.contains("ACCESSORY") || it.contains("HATCCESSORY") }) return false
hideReason = "This item is not an accessory!"
return true