mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-06-12 21:28:38 +00:00
*
This commit is contained in:
parent
8e55860f77
commit
c645c4a6cb
1 changed files with 2 additions and 2 deletions
|
@ -201,13 +201,13 @@ public class HybridPlotWorld extends ClassicPlotWorld {
|
||||||
if (l3 < this.PLOT_WIDTH) {
|
if (l3 < this.PLOT_WIDTH) {
|
||||||
centerShiftZ = (this.PLOT_WIDTH - l3) / 2;
|
centerShiftZ = (this.PLOT_WIDTH - l3) / 2;
|
||||||
} else {
|
} else {
|
||||||
centerShiftZ = (PLOT_WIDTH + ROAD_WIDTH - l3) / 2;
|
centerShiftZ = (PLOT_WIDTH - l3) / 2;
|
||||||
}
|
}
|
||||||
int centerShiftX = 0;
|
int centerShiftX = 0;
|
||||||
if (w3 < this.PLOT_WIDTH) {
|
if (w3 < this.PLOT_WIDTH) {
|
||||||
centerShiftX = (this.PLOT_WIDTH - w3) / 2;
|
centerShiftX = (this.PLOT_WIDTH - w3) / 2;
|
||||||
} else {
|
} else {
|
||||||
centerShiftX = (PLOT_WIDTH + ROAD_WIDTH - w3) / 2;
|
centerShiftX = (PLOT_WIDTH - w3) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
int startY = minY - PLOT_HEIGHT;
|
int startY = minY - PLOT_HEIGHT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue