mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
don't double-up schematic x/z offsets
This commit is contained in:
parent
de3ba9a25c
commit
cbc599cb20
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user