aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-26 10:06:48 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-26 10:06:48 +0200
commit25206150fc9ab860cdf6928acdc5869d96821c5a (patch)
tree5bf2f42af3966c35c0baefcfe414da15f087245e /src
parent310e3401adcbaa09485b2a7919932f38948bce51 (diff)
downloadNotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.tar.gz
NotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.tar.bz2
NotEnoughUpdates-25206150fc9ab860cdf6928acdc5869d96821c5a.zip
Finish mining overlay
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java4
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;