diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-27 13:58:02 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-27 13:58:02 +0100 |
commit | 07cc58d5f753e353586b223b88011632de5d526f (patch) | |
tree | 448463215d6ace19b9541709d7ff3a02fd196233 /src/main/java | |
parent | b2536ac320cdb8de06c91ce04326ab004901ef1b (diff) | |
download | skyhanni-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.kt | 2 |
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 |