From e85586db809d1c20bb2fd69d196edb7c3671f7df Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sat, 11 Sep 2021 16:25:45 +0100 Subject: [PATCH] Only set ParserContext extent to world if null when setting world --- .../com/sk89q/worldedit/extension/input/ParserContext.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/input/ParserContext.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/input/ParserContext.java index 660c8331d..e1f6cdca1 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/input/ParserContext.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/input/ParserContext.java @@ -131,7 +131,11 @@ public class ParserContext { */ public void setWorld(@Nullable World world) { this.world = world; - setExtent(world); + //FAWE start - only set extent to world if null + if (extent == null) { + setExtent(world); + } + //FAWE end } /**