mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fix sponge schematics not correctly setting dimensions if there are no entities
Signed-off-by: Byron Marohn <combustible@live.com>
This commit is contained in:
parent
be41e8dea0
commit
f6788f16e4
@ -210,7 +210,7 @@ public class SpongeSchematicReader extends NBTSchematicReader {
|
|||||||
});
|
});
|
||||||
streamer.readFully();
|
streamer.readFully();
|
||||||
if (fc == null) setupClipboard(length * width * height, uuid);
|
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;
|
Vector origin = min;
|
||||||
CuboidRegion region;
|
CuboidRegion region;
|
||||||
if (offsetX != Integer.MIN_VALUE && offsetY != Integer.MIN_VALUE && offsetZ != Integer.MIN_VALUE) {
|
if (offsetX != Integer.MIN_VALUE && offsetY != Integer.MIN_VALUE && offsetZ != Integer.MIN_VALUE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user