diff options
author | bowser0000 <bowser0000@gmail.com> | 2022-05-04 20:02:58 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2022-05-04 20:02:58 -0400 |
commit | 7670b7d3aaa969fae9ac63a76b970aa53c263118 (patch) | |
tree | 51ce65c2227740e7b3e282ba46ecf77ed197dffe /src | |
parent | 5f2acec6bce0cfdd0c435982a01f7f6d7b79e8b9 (diff) | |
download | SkyblockMod-7670b7d3aaa969fae9ac63a76b970aa53c263118.tar.gz SkyblockMod-7670b7d3aaa969fae9ac63a76b970aa53c263118.tar.bz2 SkyblockMod-7670b7d3aaa969fae9ac63a76b970aa53c263118.zip |
Fix error with waypoints
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/me/Danker/features/CrystalHollowWaypoints.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/CrystalHollowWaypoints.java b/src/main/java/me/Danker/features/CrystalHollowWaypoints.java index a8ee0f9..39a71b4 100644 --- a/src/main/java/me/Danker/features/CrystalHollowWaypoints.java +++ b/src/main/java/me/Danker/features/CrystalHollowWaypoints.java @@ -148,7 +148,7 @@ public class CrystalHollowWaypoints { } player.addChatMessage(new ChatComponentText("\n" + DankersSkyblockMod.MAIN_COLOUR + "DSM/SBE Crystal Hollows waypoints found. Click to add.\n").appendSibling(add)); }).start(); - } else { + } else if (message.indexOf(":") != message.lastIndexOf(":")) { String text = message.substring(message.indexOf(":") + 2); Matcher matcher = skytilsPattern.matcher(text); |