diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-16 07:13:02 -0230 |
---|---|---|
committer | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-07-16 07:13:02 -0230 |
commit | c1d86146d76e4f3ddc18fbca6dedc5e5d473c11b (patch) | |
tree | e6dbcd1bd8180f2bd1aed8242bb3589c7e71976e /src/main | |
parent | 5273c0a2e71b2df76555c40bf13665c762bcd97b (diff) | |
download | SkyblockHud-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')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/location/MinesHandler.java | 2 |
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) {} } |