From cbc599cb208a2b1f4abfaea58f6877cc2ab096bf Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 16 Dec 2020 12:13:39 +0000 Subject: [PATCH] don't double-up schematic x/z offsets --- .../main/java/com/plotsquared/core/util/SchematicHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/util/SchematicHandler.java b/Core/src/main/java/com/plotsquared/core/util/SchematicHandler.java index 987aa3fff..549755b39 100644 --- a/Core/src/main/java/com/plotsquared/core/util/SchematicHandler.java +++ b/Core/src/main/java/com/plotsquared/core/util/SchematicHandler.java @@ -275,8 +275,8 @@ public abstract class SchematicHandler { } for (int rz = zzb - p1z; rz <= (zzt - p1z); rz++) { for (int rx = xxb - p1x; rx <= (xxt - p1x); rx++) { - int xx = p1x + xOffset + rx; - int zz = p1z + zOffset + rz; + int xx = p1x + rx; + int zz = p1z + rz; BaseBlock id = blockArrayClipboard .getFullBlock(BlockVector3.at(rx, ry, rz)); queue.setBlock(xx, yy, zz, id);