We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45adac0 commit 568e283Copy full SHA for 568e283
cloud-paper/src/main/java/org/incendo/cloud/paper/PaperCommandManager.java
@@ -49,6 +49,8 @@
49
import org.incendo.cloud.execution.ExecutionCoordinator;
50
import org.incendo.cloud.internal.CommandRegistrationHandler;
51
52
+import static org.incendo.cloud.paper.parser.KeyedWorldParser.keyedWorldParser;
53
+
54
/**
55
* A {@link CommandManager} implementation for modern Paper API, using {@link CommandSourceStack} as the base sender type.
56
*
@@ -124,6 +126,10 @@ private PaperCommandManager(
124
126
return commandSourceStack.getSender();
125
127
}
128
));
129
130
+ // Use KeyedWorldParser instead of WorldParser by default
131
+ this.parserRegistry()
132
+ .registerParser(keyedWorldParser());
133
134
135
@Override
0 commit comments