mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-03 09:00:55 +01:00
Variable renames
This commit is contained in:
parent
fe471c3571
commit
1bd7c8ca5f
@ -67,13 +67,13 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
LocalBlockQueue queue = hpw.getQueue(false);
|
LocalBlockQueue queue = hpw.getQueue(false);
|
||||||
createSchemAbs(hpw, queue, pos1, pos2, true);
|
createSchemAbs(hpw, queue, pos1, pos2);
|
||||||
queue.enqueue();
|
queue.enqueue();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createSchemAbs(HybridPlotWorld hpw, LocalBlockQueue queue, Location pos1,
|
private void createSchemAbs(HybridPlotWorld hpw, LocalBlockQueue queue, Location pos1,
|
||||||
Location pos2, boolean clear) {
|
Location pos2) {
|
||||||
int size = hpw.SIZE;
|
int size = hpw.SIZE;
|
||||||
int minY;
|
int minY;
|
||||||
if (Settings.Schematics.PASTE_ON_TOP) {
|
if (Settings.Schematics.PASTE_ON_TOP) {
|
||||||
@ -119,7 +119,7 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
LocalBlockQueue queue = hpw.getQueue(false);
|
LocalBlockQueue queue = hpw.getQueue(false);
|
||||||
createSchemAbs(hpw, queue, pos1, pos2, true);
|
createSchemAbs(hpw, queue, pos1, pos2);
|
||||||
queue.enqueue();
|
queue.enqueue();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -134,9 +134,9 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
pos1.setY(0);
|
pos1.setY(0);
|
||||||
pos2.setY(Math.min(getWorldHeight(), 255));
|
pos2.setY(Math.min(getWorldHeight(), 255));
|
||||||
LocalBlockQueue queue = hpw.getQueue(false);
|
LocalBlockQueue queue = hpw.getQueue(false);
|
||||||
createSchemAbs(hpw, queue, pos1, pos2, true);
|
createSchemAbs(hpw, queue, pos1, pos2);
|
||||||
if (hpw.ROAD_SCHEMATIC_ENABLED) {
|
if (hpw.ROAD_SCHEMATIC_ENABLED) {
|
||||||
createSchemAbs(hpw, queue, pos1, pos2, true);
|
createSchemAbs(hpw, queue, pos1, pos2);
|
||||||
}
|
}
|
||||||
queue.enqueue();
|
queue.enqueue();
|
||||||
return true;
|
return true;
|
||||||
@ -205,12 +205,12 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pastePlotSchematic(HybridPlotWorld plotWorld, LocalBlockQueue queue, Location l1,
|
public void pastePlotSchematic(HybridPlotWorld plotWorld, LocalBlockQueue queue,
|
||||||
Location l2) {
|
Location bottom, Location top) {
|
||||||
if (!plotWorld.PLOT_SCHEMATIC) {
|
if (!plotWorld.PLOT_SCHEMATIC) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
createSchemAbs(plotWorld, queue, l1, l2, false);
|
createSchemAbs(plotWorld, queue, bottom, top);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user