This commit is contained in:
Jesse Boyd 2019-04-06 02:07:39 +11:00
parent c71fe00741
commit 3e3951a3e7
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -345,7 +345,7 @@ 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; if (!Settings.Schematics.PASTE_ON_TOP) minY = 1;
int maxY = Math.max(extend, blocks.length); int maxY = Math.max(extend, blocks.length);
if (blocks != null) { if (blocks != null) {
for (int y = 0; y < maxY; y++) { for (int y = 0; y < maxY; y++) {