diff options
author | nea <romangraef@gmail.com> | 2022-12-11 00:56:52 +0100 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-12-11 00:56:52 +0100 |
commit | 4386cab2308f39b35a5ea156216117aedfe9263e (patch) | |
tree | 2939368a2f9959d9923dbe4786eed931009a085c | |
parent | 337b77aa50db6b4a159795827623d36acccbdcc4 (diff) | |
download | NotEnoughUpdates-4386cab2308f39b35a5ea156216117aedfe9263e.tar.gz NotEnoughUpdates-4386cab2308f39b35a5ea156216117aedfe9263e.tar.bz2 NotEnoughUpdates-4386cab2308f39b35a5ea156216117aedfe9263e.zip |
TimersOverlay: Fix 0 cookie timer left spamming logs
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java index 7edbee6b..8db06651 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java @@ -357,6 +357,7 @@ public class TimersOverlay extends TextTabOverlay { String clean = line.replaceAll("(\u00a7.)", ""); String[] cleanSplit = clean.split(" "); hidden.cookieBuffRemaining = 0; + if (line.contains("Not")) break; for (int i = 0; i + 1 < cleanSplit.length; i++) { if (i % 2 == 1) continue; |