aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-01-13 21:46:44 +0100
committerGitHub <noreply@github.com>2024-01-13 21:46:44 +0100
commit996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8 (patch)
tree389bebc6a108ea3e3b5bc700c60695b0415ae7b0 /src/main/java/at
parent8a0ece570720660be2d8c7aa15b76252ed915d4b (diff)
downloadskyhanni-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')
-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 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