diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-10 16:27:13 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-10 16:27:13 +0200 |
commit | 87596dcfa90d124ea1665958ec21cb3b29ef5bea (patch) | |
tree | 6cb384fd8b2d7eccb8f2f6206a5991421341f3b3 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | 1be53be442a6ef8b6412e8f09f6e00ccbbb0af75 (diff) | |
download | skyhanni-87596dcfa90d124ea1665958ec21cb3b29ef5bea.tar.gz skyhanni-87596dcfa90d124ea1665958ec21cb3b29ef5bea.tar.bz2 skyhanni-87596dcfa90d124ea1665958ec21cb3b29ef5bea.zip |
Fixed non god pot effects display being wrong sometimes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-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 aaefe167f..fa3bc03ad 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt @@ -149,7 +149,7 @@ class NonGodPotEffectDisplay { for (stack in event.inventoryItems.values) { val name = stack.name ?: continue for (effect in NonGodPotEffect.values()) { - if (name == effect.displayName) continue + if (name != effect.displayName) continue for (line in stack.getLore()) { if (line.contains("Remaining") && line != "§7Time Remaining: §aCompleted!" && |