Set forceExecutor true for Paper Brigadier

This commit is contained in:
Jason Penilla 2022-08-06 17:28:24 -07:00 committed by Jason
parent 90da6b0801
commit 6ba9afd6a3

View file

@ -489,7 +489,7 @@ public final class CloudBrigadierManager<C, S> {
} }
final LiteralCommandNode<S> constructedRoot = literalArgumentBuilder.build(); final LiteralCommandNode<S> constructedRoot = literalArgumentBuilder.build();
for (final CommandTree.Node<CommandArgument<C, ?>> child : cloudCommand.getChildren()) { for (final CommandTree.Node<CommandArgument<C, ?>> child : cloudCommand.getChildren()) {
constructedRoot.addChild(this.constructCommandNode(false, child, permissionChecker, constructedRoot.addChild(this.constructCommandNode(true, child, permissionChecker,
executor, suggestionProvider executor, suggestionProvider
).build()); ).build());
} }