aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt2
1 files changed, 1 insertions, 1 deletions
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!" &&