3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

Fix sponge schematics not correctly setting dimensions if there are no entities

Signed-off-by: Byron Marohn <combustible@live.com>
Dieser Commit ist enthalten in:
Byron Marohn 2019-02-06 20:48:30 -08:00
Ursprung be41e8dea0
Commit f6788f16e4

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