Better display of LocationUtil.conciseToString()
This commit is contained in:
parent
045ca8b640
commit
441b55f52c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user