From 751e6a5dd416c7f44f8a48f177bb090fe5a1f46a Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Mon, 11 Nov 2019 19:56:55 +0000 Subject: [PATCH] Update SpongeSchematicReader.java --- .../worldedit/extent/clipboard/io/SpongeSchematicReader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java index 60c89eea8..a9449ae1c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/SpongeSchematicReader.java @@ -220,7 +220,8 @@ public class SpongeSchematicReader extends NBTSchematicReader { BlockVector3 dimensions = BlockVector3.at(width, height, length); BlockVector3 origin = min; if (offsetX != Integer.MIN_VALUE && offsetY != Integer.MIN_VALUE && offsetZ != Integer.MIN_VALUE) { - origin = origin.subtract(BlockVector3.at(offsetX, offsetY, offsetZ)); +// origin = origin.subtract(BlockVector3.at(offsetX, offsetY, offsetZ)); + origin = BlockVector3.at(offsetX, offsetY, offsetZ); } Clipboard clipboard = createOutput.apply(dimensions); @@ -339,7 +340,6 @@ public class SpongeSchematicReader extends NBTSchematicReader { } } } - clipboard.setOrigin(origin); return clipboard; }