don't double-up schematic x/z offsets

This commit is contained in:
dordsor21 2020-12-16 12:13:39 +00:00
parent de3ba9a25c
commit cbc599cb20
No known key found for this signature in database
GPG key ID: 1E53E88969FFCF0B

View file

@ -275,8 +275,8 @@ public abstract class SchematicHandler {
} }
for (int rz = zzb - p1z; rz <= (zzt - p1z); rz++) { for (int rz = zzb - p1z; rz <= (zzt - p1z); rz++) {
for (int rx = xxb - p1x; rx <= (xxt - p1x); rx++) { for (int rx = xxb - p1x; rx <= (xxt - p1x); rx++) {
int xx = p1x + xOffset + rx; int xx = p1x + rx;
int zz = p1z + zOffset + rz; int zz = p1z + rz;
BaseBlock id = blockArrayClipboard BaseBlock id = blockArrayClipboard
.getFullBlock(BlockVector3.at(rx, ry, rz)); .getFullBlock(BlockVector3.at(rx, ry, rz));
queue.setBlock(xx, yy, zz, id); queue.setBlock(xx, yy, zz, id);