aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorThatGravyBoat <thatgravyboat@gmail.com>2021-07-16 07:13:02 -0230
committerThatGravyBoat <thatgravyboat@gmail.com>2021-07-16 07:13:02 -0230
commitc1d86146d76e4f3ddc18fbca6dedc5e5d473c11b (patch)
treee6dbcd1bd8180f2bd1aed8242bb3589c7e71976e /src/main/java/com
parent5273c0a2e71b2df76555c40bf13665c762bcd97b (diff)
downloadSkyblockHud-Death-Defied-c1d86146d76e4f3ddc18fbca6dedc5e5d473c11b.tar.gz
SkyblockHud-Death-Defied-c1d86146d76e4f3ddc18fbca6dedc5e5d473c11b.tar.bz2
SkyblockHud-Death-Defied-c1d86146d76e4f3ddc18fbca6dedc5e5d473c11b.zip
Round 2 of trying to make better together event work
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java
index e4994d1..b112ad8 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java
@@ -108,7 +108,7 @@ public class MinesHandler {
if (event.formattedLine.toLowerCase(Locale.ENGLISH).contains("nearby players")) {
MinesHandler.currentEvent = Event.TOGETHER;
try {
- MinesHandler.eventProgress = Integer.parseInt(event.formattedLine.toLowerCase().replace("nearby players:", ""));
+ MinesHandler.eventProgress = Integer.parseInt(event.formattedLine.toLowerCase().replace("nearby players:", "").trim());
} catch (Exception ignored) {}
}