diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2023-06-17 23:23:03 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-17 15:23:03 +0200 |
commit | ef63f49a0127f13cd78a2a682491ac1d685e201a (patch) | |
tree | b35e059b99f3f8027bc2389c77119f7d9bf2416f /src | |
parent | a04daf73a1a1d125177ba1cd47a0d21c3a969e73 (diff) | |
download | NotEnoughUpdates-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.java | 4 |
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; } |