From 0bd716bb63b7b415abc8ddeba13a8a400e7bdbde Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 29 Apr 2015 10:27:21 +1000 Subject: [PATCH] Fixes #287 --- .../java/com/intellectualcrafters/plot/util/MainUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 379833e20..ec1fbf07a 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java @@ -260,13 +260,13 @@ public class MainUtil { public static void update(final Plot plot) { Location bot = getPlotBottomLoc(plot.world, plot.id).add(1, 0, 1); - Location top = getPlotBottomLoc(plot.world, plot.id); + Location top = getPlotTopLoc(plot.world, plot.id); int bx = bot.getX() >> 4; int bz = bot.getZ() >> 4; - int tx = 1 + (top.getX() >> 4); - int tz = 1 + (top.getZ() >> 4); + int tx = (top.getX() >> 4); + int tz = (top.getZ() >> 4); ArrayList chunks = new ArrayList<>();