From 0a26ed8f8e6bb2a26447f8fdfd2153c0e670cf72 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 15 Jul 2015 00:46:03 +1000 Subject: [PATCH] test commit --- .../com/intellectualcrafters/plot/util/bukkit/BukkitUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/BukkitUtil.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/BukkitUtil.java index c584cb7fd..904184a48 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/BukkitUtil.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/bukkit/BukkitUtil.java @@ -84,7 +84,7 @@ public class BukkitUtil extends BlockManager { } public static Location getLocation(final org.bukkit.Location loc) { - return new Location(loc.getWorld().getName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()); + return new Location(loc.getWorld().getName(), (int) loc.getX(), (int) loc.getY(), (int) loc.getZ()); } public static org.bukkit.Location getLocation(final Location loc) {