aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-05-04 20:02:58 -0400
committerbowser0000 <bowser0000@gmail.com>2022-05-04 20:02:58 -0400
commit7670b7d3aaa969fae9ac63a76b970aa53c263118 (patch)
tree51ce65c2227740e7b3e282ba46ecf77ed197dffe /src
parent5f2acec6bce0cfdd0c435982a01f7f6d7b79e8b9 (diff)
downloadSkyblockMod-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.java2
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);