diff --git a/cloud-paper/src/main/java/org/incendo/cloud/paper/PaperCommandManager.java b/cloud-paper/src/main/java/org/incendo/cloud/paper/PaperCommandManager.java index bafdedd8..685a8d1b 100644 --- a/cloud-paper/src/main/java/org/incendo/cloud/paper/PaperCommandManager.java +++ b/cloud-paper/src/main/java/org/incendo/cloud/paper/PaperCommandManager.java @@ -49,6 +49,8 @@ import org.incendo.cloud.execution.ExecutionCoordinator; import org.incendo.cloud.internal.CommandRegistrationHandler; +import static org.incendo.cloud.paper.parser.KeyedWorldParser.keyedWorldParser; + /** * A {@link CommandManager} implementation for modern Paper API, using {@link CommandSourceStack} as the base sender type. * @@ -124,6 +126,10 @@ private PaperCommandManager( return commandSourceStack.getSender(); } )); + + // Use KeyedWorldParser instead of WorldParser by default + this.parserRegistry() + .registerParser(keyedWorldParser()); } @Override