aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-10 16:27:13 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-10 16:27:13 +0200
commit87596dcfa90d124ea1665958ec21cb3b29ef5bea (patch)
tree6cb384fd8b2d7eccb8f2f6206a5991421341f3b3 /src/main/java/at/hannibal2/skyhanni/features
parent1be53be442a6ef8b6412e8f09f6e00ccbbb0af75 (diff)
downloadskyhanni-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')
-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 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!" &&