From dc94418b51bfd146b89fd8e145db5ffb41697dd0 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 9 Dec 2016 23:52:48 +1100 Subject: [PATCH] Only expand border to current plot. --- .../main/java/com/intellectualcrafters/plot/object/Plot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java b/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java index fea6c4349..268dcef52 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java @@ -2641,7 +2641,7 @@ public class Plot { if (border == Integer.MAX_VALUE) { return; } - PlotId id = new PlotId(Math.abs(this.getId().x) + 1, Math.abs(this.getId().x) + 1); + PlotId id = new PlotId(Math.abs(this.getId().x), Math.abs(this.getId().x)); PlotManager manager = this.getManager(); Location bot = manager.getPlotBottomLocAbs(this.area, id); Location top = manager.getPlotTopLocAbs(this.area, id);