Only expand border to current plot.

This commit is contained in:
Jesse Boyd 2016-12-09 23:52:48 +11:00
parent 72ab10c079
commit dc94418b51
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -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);