Merge pull request #40 from Combustible/sponge_schematic_tweak

Fix sponge schematics not correctly setting dimensions if there are no entities
This commit is contained in:
Jesse Boyd
2019-04-01 13:42:47 +11:00
committed by GitHub

View File

@ -210,7 +210,7 @@ public class SpongeSchematicReader extends NBTSchematicReader {
});
streamer.readFully();
if (fc == null) setupClipboard(length * width * height, uuid);
else fc.setDimensions(new Vector(width, height, length));
fc.setDimensions(new Vector(width, height, length));
Vector origin = min;
CuboidRegion region;
if (offsetX != Integer.MIN_VALUE && offsetY != Integer.MIN_VALUE && offsetZ != Integer.MIN_VALUE) {