aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
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 /src/main/java
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.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt2
1 files changed, 1 insertions, 1 deletions
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