mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
The extent minY check in clipboard paste is un-needed as it is handled gracefully by FAWE (#1806)
- Fixes #1771
This commit is contained in:
parent
1da987d594
commit
f2bab901f4
@ -391,9 +391,6 @@ public interface Clipboard extends Extent, Iterable<BlockVector3>, Closeable, Fl
|
|||||||
if (!pasteAir && block.getBlockType().getMaterial().isAir()) {
|
if (!pasteAir && block.getBlockType().getMaterial().isAir()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (pos.getY() < extent.getMinY()) {
|
|
||||||
throw new RuntimeException("Y-Position cannot be less than the extent's minimum Y!");
|
|
||||||
}
|
|
||||||
extent.setBlock(xx, yy, zz, block);
|
extent.setBlock(xx, yy, zz, block);
|
||||||
}
|
}
|
||||||
// Entity offset is the paste location subtract the clipboard origin (entity's location is already relative to the world origin)
|
// Entity offset is the paste location subtract the clipboard origin (entity's location is already relative to the world origin)
|
||||||
|
Loading…
Reference in New Issue
Block a user