diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 2 |
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 |