diff options
author | Linnea Gräf <roman.graef@gmail.com> | 2023-10-30 14:23:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 14:23:30 +0100 |
commit | ce153f0376d3fdb399cfd53c9b3dfaeeaf75dd42 (patch) | |
tree | 21d850e3effddfc277d53ebea38639de1e2463b3 /src/main/java | |
parent | 862ca27a37a898d6600828ebc70cca0ebf1d1db6 (diff) | |
download | NotEnoughUpdates-ce153f0376d3fdb399cfd53c9b3dfaeeaf75dd42.tar.gz NotEnoughUpdates-ce153f0376d3fdb399cfd53c9b3dfaeeaf75dd42.tar.bz2 NotEnoughUpdates-ce153f0376d3fdb399cfd53c9b3dfaeeaf75dd42.zip |
Make Cake Timer in todo overlay reset when eating a refreshment cake (#911)
Fixes #907
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java | 2 |
1 files changed, 1 insertions, 1 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 4efdb977..bf73e2ec 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java @@ -69,7 +69,7 @@ public class TimersOverlay extends TextTabOverlay { private static final Pattern PATTERN_ACTIVE_EFFECTS = Pattern.compile( "\u00a7r\u00a7r\u00a77You have a \u00a7r\u00a7cGod Potion \u00a7r\u00a77active! \u00a7r\u00a7d([1-5][0-9]|[0-9])[\\s|^\\S]?(Seconds|Second|Minutes|Minute|Hours|Hour|Day|Days|h|m|s) ?([1-5][0-9]|[0-9])?([ms])?\u00a7r"); private static final Pattern CAKE_PATTERN = Pattern.compile( - "\u00a7r\u00a7d\u00a7lYum! \u00a7r\u00a7eYou gain .+ \u00a7r\u00a7efor \u00a7r\u00a7a48 \u00a7r\u00a7ehours!\u00a7r"); + "§r§d§l(?:Big )?Yum! §r§eYou (?:refresh|gain) §r§.+ §r§efor §r§a48 §r§ehours!§r"); private static final Pattern PUZZLER_PATTERN = Pattern.compile("\u00a7r\u00a7dPuzzler\u00a7r\u00a76 gave you .+ \u00a7r\u00a76for solving the puzzle!\u00a7r"); private static final Pattern FETCHUR_PATTERN = |