diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-01-13 21:46:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 21:46:44 +0100 |
commit | 996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8 (patch) | |
tree | 389bebc6a108ea3e3b5bc700c60695b0415ae7b0 /src/main/java/at/hannibal2 | |
parent | 8a0ece570720660be2d8c7aa15b76252ed915d4b (diff) | |
download | skyhanni-996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8.tar.gz skyhanni-996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8.tar.bz2 skyhanni-996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8.zip |
fix hatcessory detection (#918)
Fixed Crap Hat of Celebration not getting detected as accessory in Hide Not Clickable Items. #918
Diffstat (limited to 'src/main/java/at/hannibal2')
-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 aa93dfd72..37ca20f33 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -341,7 +341,7 @@ class HideNotClickableItems { if (ItemUtils.isSkyBlockMenuItem(stack)) return false reverseColor = true - if (stack.getLore().any { it.contains("ACCESSORY") || it.contains("HATCCESSORY") }) return false + if (stack.getLore().any { it.contains("ACCESSORY") || it.contains("HATCESSORY") }) return false hideReason = "This item is not an accessory!" return true |