mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +01:00
Only expand border to current plot.
This commit is contained in:
parent
72ab10c079
commit
dc94418b51
@ -2641,7 +2641,7 @@ public class Plot {
|
|||||||
if (border == Integer.MAX_VALUE) {
|
if (border == Integer.MAX_VALUE) {
|
||||||
return;
|
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();
|
PlotManager manager = this.getManager();
|
||||||
Location bot = manager.getPlotBottomLocAbs(this.area, id);
|
Location bot = manager.getPlotBottomLocAbs(this.area, id);
|
||||||
Location top = manager.getPlotTopLocAbs(this.area, id);
|
Location top = manager.getPlotTopLocAbs(this.area, id);
|
||||||
|
Loading…
Reference in New Issue
Block a user