Merge pull request #40 from Combustible/sponge_schematic_tweak

Fix sponge schematics not correctly setting dimensions if there are no entities
Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-01 13:42:47 +11:00 committet von GitHub
Commit a44c38c170
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -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) {