diff options
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java | 2 |
1 files changed, 2 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 96260e7f..95b8b56a 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java @@ -492,6 +492,7 @@ public class TimersOverlay extends TextTabOverlay { if (activeEffectsMatcher.group(i) == null) { continue; } + if (activeEffectsMatcher.group(i).startsWith(" ")) break; godpotRemainingTime = Integer.parseInt(activeEffectsMatcher.group(i)); godpotRemainingTimeType = activeEffectsMatcher.group(i + 1); godPotDuration += @@ -512,6 +513,7 @@ public class TimersOverlay extends TextTabOverlay { if (godPotionMatcher.group(i) == null) { continue; } + if (godPotionMatcher.group(i).startsWith(" ")) break; godpotRemainingTime = Integer.parseInt(godPotionMatcher.group(i)); godpotRemainingTimeType = godPotionMatcher.group(i + 1); godPotDuration += |
