From 0b727d9760a1f7620f1194d9c8f4bc438b64be23 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sun, 10 Jan 2021 18:51:07 +0000 Subject: [PATCH] Fix for OPs when "not in a region" --- .../src/main/java/com/boydti/fawe/util/EditSessionBuilder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java b/worldedit-core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java index cb6ccff64..e2bf8705c 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/util/EditSessionBuilder.java @@ -393,6 +393,7 @@ public class EditSessionBuilder { } } } else { + allowedRegions = new Region[]{RegionWrapper.GLOBAL()}; // this.extent = new HeightBoundExtent(this.extent, this.limit, 0, world.getMaxY()); } if (limit != null && !limit.isUnlimited() && regionExtent != null) {