From 996424847ec9afbba9f4f8ec0e8bdc2e7d67ebb8 Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Sat, 13 Jan 2024 21:46:44 +0100 Subject: fix hatcessory detection (#918) Fixed Crap Hat of Celebration not getting detected as accessory in Hide Not Clickable Items. #918 --- .../at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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 -- cgit