From 25206150fc9ab860cdf6928acdc5869d96821c5a Mon Sep 17 00:00:00 2001 From: DoKM Date: Thu, 26 Aug 2021 10:06:48 +0200 Subject: Finish mining overlay --- .../io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java index 82b1338e..f85ee646 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java @@ -239,7 +239,9 @@ public class MiningOverlay extends TextOverlay { if (name.contains("Gemstone Powder:")) { gemstonePowder = DARK_AQUA + Utils.trimIgnoreColour(name).replaceAll("\u00a7[f|F|r]", ""); } - if (name.equals(RESET.toString() + BLUE + BOLD + "Forges " + RESET)) { + + + if (name.matches("\\xa7r\\xa79\\xa7lForges \\xa7r(?:\\xa7f\\(\\+1 more\\)\\xa7r)?")) { commissions = false; forges = true; continue; -- cgit