From f2bab901f48604f9eac360d72654272ac7471e22 Mon Sep 17 00:00:00 2001 From: Jordan Date: Thu, 16 Jun 2022 15:24:00 +0100 Subject: [PATCH] The extent minY check in clipboard paste is un-needed as it is handled gracefully by FAWE (#1806) - Fixes #1771 --- .../java/com/sk89q/worldedit/extent/clipboard/Clipboard.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java index bf88ef9d8..15d6365e7 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/Clipboard.java @@ -391,9 +391,6 @@ public interface Clipboard extends Extent, Iterable, 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)