From 07cc58d5f753e353586b223b88011632de5d526f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 27 Feb 2023 13:58:02 +0100 Subject: Fixed Crab Hat of Celebration not being detected as an accessory correctly. --- .../at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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 -- cgit