From 2a189ed75dbe824a2aac904a95f9187e59cee57a Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:53:50 +0100 Subject: Adding Great Spook support for Non God Pot Effect display. v2 --- .../java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt index 80e69332e..a1ae6f5ad 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt @@ -162,7 +162,7 @@ class NonGodPotEffectDisplay { for (stack in event.inventoryItems.values) { val name = stack.name ?: continue for (effect in NonGodPotEffect.entries) { - if (!name.contains(effect.tabListName)) continue + if (!name.contains(effect.inventoryItemName)) continue for (line in stack.getLore()) { if (line.contains("Remaining") && line != "§7Time Remaining: §aCompleted!" && -- cgit