Skip to content
Permalink
Browse files
Create parser context data for factory converter in non-user-mode
  • Loading branch information
me4502 committed Aug 31, 2019
1 parent 299d703 commit a73a45ce43c50f8814553dbdc47e59ec256f7a19
Showing with 3 additions and 0 deletions.
  1. +3 −0 worldedit-core/src/main/java/com/sk89q/worldedit/command/argument/FactoryConverter.java
@@ -110,6 +110,9 @@ private FactoryConverter(WorldEdit worldEdit,
parserContext.setWorld((World) extent);
}
parserContext.setExtent(new RequestExtent());
} else if (session.hasWorldOverride()) {
parserContext.setWorld(session.getWorldOverride());
parserContext.setExtent(new RequestExtent());
}
parserContext.setSession(session);
parserContext.setRestricted(true);

0 comments on commit a73a45c

Please sign in to comment.