Better display of LocationUtil.conciseToString()

This commit is contained in:
Marc Baloup 2022-09-08 23:42:40 +02:00
parent 045ca8b640
commit 441b55f52c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class LocationUtil {
public static String conciseToString(Location loc) {
String world = loc.getWorld() == null ? "null" : loc.getWorld().getName();
return "(" + world + "," + loc.getBlockX() + "," + loc.getBlockY() + "," + loc.getBlockZ() + ")";
return "(" + world + ", " + loc.getBlockX() + ", " + loc.getBlockY() + ", " + loc.getBlockZ() + ")";
}
/**
* Return a random secure location in the provided world, inside the current