diff options
Diffstat (limited to 'src/main/java/me/Danker')
-rw-r--r-- | src/main/java/me/Danker/commands/CrystalHollowWaypointCommand.java | 2 | ||||
-rw-r--r-- | src/main/java/me/Danker/features/CrystalHollowWaypoints.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/CrystalHollowWaypointCommand.java b/src/main/java/me/Danker/commands/CrystalHollowWaypointCommand.java index c545447..1aacf50 100644 --- a/src/main/java/me/Danker/commands/CrystalHollowWaypointCommand.java +++ b/src/main/java/me/Danker/commands/CrystalHollowWaypointCommand.java @@ -35,7 +35,7 @@ public class CrystalHollowWaypointCommand extends CommandBase { String[] waypoints = String.join(" ", arg1).split("\\\\n"); for (String waypoint : waypoints) { - String[] parts = waypoint.split("@"); + String[] parts = waypoint.split("@-"); String[] coords = parts[1].split(","); String location = parts[0]; diff --git a/src/main/java/me/Danker/features/CrystalHollowWaypoints.java b/src/main/java/me/Danker/features/CrystalHollowWaypoints.java index fdd49f2..5b8d665 100644 --- a/src/main/java/me/Danker/features/CrystalHollowWaypoints.java +++ b/src/main/java/me/Danker/features/CrystalHollowWaypoints.java @@ -174,7 +174,7 @@ public class CrystalHollowWaypoints { } public String getFormattedWaypoint() { - return location + "@" + pos.getX() + "," + pos.getY() + "," + pos.getZ(); + return location + "@-" + pos.getX() + "," + pos.getY() + "," + pos.getZ(); } public String getDistance(EntityPlayer player) { |