aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-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 723a3d00e..1a20293de 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 (effect in NonGodPotEffect.values()) {
if (name == effect.displayName) continue
for (line in stack.getLore()) {
- if (line.contains("Remaining")) {
+ if (line.contains("Remaining") && line != "§7Time Remaining: §aCompleted!") {
val duration = try {
TimeUtils.getMillis(line.split("§f")[1])
} catch (e: IndexOutOfBoundsException) {