From ef63f49a0127f13cd78a2a682491ac1d685e201a Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 17 Jun 2023 23:23:03 +1000 Subject: Added exact number values back to commissions (#720) --- .../io/github/moulberry/notenoughupdates/overlays/MiningOverlay.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/io') 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; } -- cgit