diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-30 15:53:50 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-30 15:53:50 +0100 |
commit | 2a189ed75dbe824a2aac904a95f9187e59cee57a (patch) | |
tree | eb622acc373cf8aa7faf36507ec6b9f7c3e89063 /src/main/java | |
parent | 76df235e2ccc807a83382995763472fac4f171b1 (diff) | |
download | skyhanni-2a189ed75dbe824a2aac904a95f9187e59cee57a.tar.gz skyhanni-2a189ed75dbe824a2aac904a95f9187e59cee57a.tar.bz2 skyhanni-2a189ed75dbe824a2aac904a95f9187e59cee57a.zip |
Adding Great Spook support for Non God Pot Effect display. v2
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt | 2 |
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!" && |