From 441b55f52cd6eecaff5ac70e376428d707fb2cb8 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 8 Sep 2022 23:42:40 +0200 Subject: [PATCH] Better display of LocationUtil.conciseToString() --- .../src/main/java/fr/pandacube/lib/paper/util/LocationUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/LocationUtil.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/LocationUtil.java index 01e5894..82a29ae 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/LocationUtil.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/LocationUtil.java @@ -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