We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8dbdd commit 25957c4Copy full SHA for 25957c4
worldedit-core/src/main/java/com/sk89q/worldedit/command/ClipboardCommands.java
@@ -76,7 +76,7 @@ public class ClipboardCommands {
76
*/
77
private void checkRegionBounds(Region region, LocalSession session) throws MaxChangedBlocksException {
78
int limit = session.getBlockChangeLimit();
79
- if (region.getBoundingBox().getVolume() > limit) {
+ if (limit >= 0 && region.getBoundingBox().getVolume() >= limit) {
80
throw new MaxChangedBlocksException(limit);
81
}
82
0 commit comments