The extent minY check in clipboard paste is un-needed as it is handled gracefully by FAWE (#1806)

- Fixes #1771
Dieser Commit ist enthalten in:
Jordan 2022-06-16 15:24:00 +01:00 committet von GitHub
Ursprung 1da987d594
Commit f2bab901f4
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -391,9 +391,6 @@ public interface Clipboard extends Extent, Iterable<BlockVector3>, Closeable, Fl
if (!pasteAir && block.getBlockType().getMaterial().isAir()) {
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);
}
// Entity offset is the paste location subtract the clipboard origin (entity's location is already relative to the world origin)