Update Brigadier version with fix
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a2fa8bb79d
commit
640e9271af
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue