aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-06-17 23:23:03 +1000
committerGitHub <noreply@github.com>2023-06-17 15:23:03 +0200
commitef63f49a0127f13cd78a2a682491ac1d685e201a (patch)
treeb35e059b99f3f8027bc2389c77119f7d9bf2416f /src
parenta04daf73a1a1d125177ba1cd47a0d21c3a969e73 (diff)
downloadNotEnoughUpdates-ef63f49a0127f13cd78a2a682491ac1d685e201a.tar.gz
NotEnoughUpdates-ef63f49a0127f13cd78a2a682491ac1d685e201a.tar.bz2
NotEnoughUpdates-ef63f49a0127f13cd78a2a682491ac1d685e201a.zip
Added exact number values back to commissions (#720)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java4
1 files changed, 2 insertions, 2 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 3492c8c4..2d03db05 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java
@@ -208,8 +208,8 @@ public class MiningOverlay extends TextTabOverlay {
}
}
}
- if (line.startsWith("\u00a77\u00a79")) {
- String textAfter = line.substring(4);
+ if (line.startsWith("\u00a79")) {
+ String textAfter = line.substring(2);
if (!textAfter.contains("\u00a7") && !textAfter.equals("Rewards") && !textAfter.equals("Progress")) {
commName = textAfter;
}