aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralexia <me@alexia.lol>2024-02-07 13:23:00 +0100
committerGitHub <noreply@github.com>2024-02-07 13:23:00 +0100
commit25d839ff7ab2064b49dc19c821f927e48aa1d58b (patch)
tree559cee006bd3f579a00b36d231f6918cfdef773b /src
parent5f7acf099c59005b4552122991b581127cf49248 (diff)
downloadNotEnoughUpdates-25d839ff7ab2064b49dc19c821f927e48aa1d58b.tar.gz
NotEnoughUpdates-25d839ff7ab2064b49dc19c821f927e48aa1d58b.tar.bz2
NotEnoughUpdates-25d839ff7ab2064b49dc19c821f927e48aa1d58b.zip
Fix NPC daily buy limit with Diaz (#1015)
I made the pattern a bit simpler/more future-proof as well. Technically this will also match "6,40" if that ever happens for whatever reason but I don't think that's a problem.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java2
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 e96866e5..1d676e1b 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java
@@ -83,7 +83,7 @@ public class TimersOverlay extends TextTabOverlay {
private static final Pattern DAILY_GEMSTONE_POWDER = Pattern.compile(
"\u00a7r\u00a79\u1805 \u00a7r\u00a7fYou've earned \u00a7r\u00a7d.+ Gemstone Powder \u00a7r\u00a7ffrom mining your first Gemstone of the day!\u00a7r");
private static final Pattern DAILY_SHOP_LIMIT = Pattern.compile(
- "\u00a7r\u00a7cYou may only buy up to (640|6400) of this item each day!\u00a7r");
+ "\u00a7r\u00a7cYou may only buy up to 6,?400? of this item each day!\u00a7r");
@SubscribeEvent
public void onClickItem(SlotClickEvent event) {