diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index 1719432e9..841f5f969 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -8,7 +8,7 @@ UTF-8 PlotSquared - 2.8.7 + 2.8.8 PlotSquared jar diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java index cbe2db01e..01f29bbe8 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java @@ -158,7 +158,7 @@ public class MainUtil { public static void update(final Location loc) { final String world = loc.getWorld(); int ox = loc.getX() >> 4; - int oz = loc.getX() >> 4; + int oz = loc.getZ() >> 4; final ArrayList chunks = new ArrayList<>(); final int distance = BukkitUtil.getViewDistance(); for (int cx = -distance; cx <= distance; cx++) {