From 25d839ff7ab2064b49dc19c821f927e48aa1d58b Mon Sep 17 00:00:00 2001 From: alexia Date: Wed, 7 Feb 2024 13:23:00 +0100 Subject: 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. --- .../io/github/moulberry/notenoughupdates/overlays/TimersOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit