mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
don't double-up schematic x/z offsets
This commit is contained in:
parent
de3ba9a25c
commit
cbc599cb20
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue