mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Use the correct CuboidRegion constructor to prevent clipboard height being limited when loading schematics (#1798)
Use the correct CuboidRegion constructor to prevent clipboard height being limited when loading schematicsd - Fixes #1757
This commit is contained in:
parent
ea434163c4
commit
cb6e200ca6
@ -61,7 +61,12 @@ public interface ClipboardReader extends Closeable {
|
|||||||
default Clipboard read(UUID uuid) throws IOException {
|
default Clipboard read(UUID uuid) throws IOException {
|
||||||
return read(
|
return read(
|
||||||
uuid,
|
uuid,
|
||||||
(dimensions) -> Clipboard.create(new CuboidRegion(BlockVector3.ZERO, dimensions.subtract(BlockVector3.ONE)), uuid)
|
(dimensions) -> Clipboard.create(new CuboidRegion(
|
||||||
|
null,
|
||||||
|
BlockVector3.ZERO,
|
||||||
|
dimensions.subtract(BlockVector3.ONE),
|
||||||
|
false
|
||||||
|
), uuid)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user