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
commitd93a2355e7cd3638578b0d89e4500961b610f358 (patch)
tree448463215d6ace19b9541709d7ff3a02fd196233
parent840944130141c8c7f23daa2cdccadfeb1feafb6a (diff)
downloadSkyHanni-d93a2355e7cd3638578b0d89e4500961b610f358.tar.gz
SkyHanni-d93a2355e7cd3638578b0d89e4500961b610f358.tar.bz2
SkyHanni-d93a2355e7cd3638578b0d89e4500961b610f358.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