diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-26 10:06:48 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-26 10:06:48 +0200 |
commit | 25206150fc9ab860cdf6928acdc5869d96821c5a (patch) | |
tree | 5bf2f42af3966c35c0baefcfe414da15f087245e /src/main | |
parent | 310e3401adcbaa09485b2a7919932f38948bce51 (diff) | |
download | NotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.tar.gz NotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.tar.bz2 NotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.zip |
Finish mining overlay
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java | 4 |
1 files changed, 3 insertions, 1 deletions
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; |