mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Do not respect paste on top for road schematics.
This commit is contained in:
parent
5e44bb60c6
commit
55139eb134
@ -622,9 +622,6 @@ public abstract class HybridUtils {
|
|||||||
if (condition) {
|
if (condition) {
|
||||||
BaseBlock[] blocks = plotWorld.G_SCH.get(MathMan.pair(absX, absZ));
|
BaseBlock[] blocks = plotWorld.G_SCH.get(MathMan.pair(absX, absZ));
|
||||||
int minY = plotWorld.SCHEM_Y;
|
int minY = plotWorld.SCHEM_Y;
|
||||||
if (!Settings.Schematics.PASTE_ON_TOP) {
|
|
||||||
minY = 1;
|
|
||||||
}
|
|
||||||
int maxY = Math.max(extend, blocks.length);
|
int maxY = Math.max(extend, blocks.length);
|
||||||
for (int y = 0; y < maxY; y++) {
|
for (int y = 0; y < maxY; y++) {
|
||||||
if (y > blocks.length - 1) {
|
if (y > blocks.length - 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user