diff options
author | alexia <me@alexia.lol> | 2024-02-07 13:23:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 13:23:00 +0100 |
commit | 25d839ff7ab2064b49dc19c821f927e48aa1d58b (patch) | |
tree | 559cee006bd3f579a00b36d231f6918cfdef773b /src/main | |
parent | 5f7acf099c59005b4552122991b581127cf49248 (diff) | |
download | NotEnoughUpdates-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/main')
-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 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) { |