mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix off-by-one error in schematic pasting (#3160)
This commit is contained in:
parent
cc60d50dd2
commit
fe65a0c548
@ -365,7 +365,7 @@ public abstract class SchematicHandler {
|
|||||||
if (yy > 255 || yy < 0) {
|
if (yy > 255 || yy < 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for (int rz = 0; rz <= blockArrayClipboard.getDimensions().getZ(); rz++) {
|
for (int rz = 0; rz < blockArrayClipboard.getDimensions().getZ(); rz++) {
|
||||||
for (int rx = 0; rx < blockArrayClipboard.getDimensions().getX(); rx++) {
|
for (int rx = 0; rx < blockArrayClipboard.getDimensions().getX(); rx++) {
|
||||||
int xx = p1x + rx;
|
int xx = p1x + rx;
|
||||||
int zz = p1z + rz;
|
int zz = p1z + rz;
|
||||||
|
Loading…
Reference in New Issue
Block a user