Update Brigadier version with fix
This commit is contained in:
parent
68b3205624
commit
b9873b0d44
@ -232,7 +232,6 @@ public class CommandDispatcher<S> {
|
|||||||
if (child != null) {
|
if (child != null) {
|
||||||
forked |= context.isForked();
|
forked |= context.isForked();
|
||||||
if (child.hasNodes()) {
|
if (child.hasNodes()) {
|
||||||
foundCommand = true;
|
|
||||||
final RedirectModifier<S> modifier = context.getRedirectModifier();
|
final RedirectModifier<S> modifier = context.getRedirectModifier();
|
||||||
if (modifier == null) {
|
if (modifier == null) {
|
||||||
if (next == null) {
|
if (next == null) {
|
||||||
@ -249,6 +248,8 @@ public class CommandDispatcher<S> {
|
|||||||
for (final S source : results) {
|
for (final S source : results) {
|
||||||
next.add(child.copyFor(source));
|
next.add(child.copyFor(source));
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
foundCommand = true;
|
||||||
}
|
}
|
||||||
} catch (final CommandSyntaxException ex) {
|
} catch (final CommandSyntaxException ex) {
|
||||||
consumer.onCommandComplete(context, false, 0);
|
consumer.onCommandComplete(context, false, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user