whoops, wrong schematic

This commit is contained in:
Jesse Boyd 2019-04-01 21:45:55 +11:00
parent 1c9c0d0207
commit b1835f0998
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -249,11 +249,11 @@ public class HybridPlotWorld extends ClassicPlotWorld {
}
}
}
min = blockArrayClipboard2.getMinimumPoint();
min = blockArrayClipboard1.getMinimumPoint();
for (short x = 0; x < w2; x++) {
for (short z = 0; z < l2; z++) {
for (short y = 0; y < h2; y++) {
BaseBlock id = blockArrayClipboard2.getFullBlock(BlockVector3.at(x + min.getBlockX(), y + min.getBlockY(), z + min.getBlockZ()));
BaseBlock id = blockArrayClipboard1.getFullBlock(BlockVector3.at(x + min.getBlockX(), y + min.getBlockY(), z + min.getBlockZ()));
if (!id.getBlockType().getMaterial().isAir()) {
addOverlayBlock((short) (x - shift), (short) (y + startY),
(short) (z - shift), id, false, h2);