mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 02:59:11 +01:00
Update Brigadier version with fix
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a2fa8bb79d
commit
640e9271af
@ -232,7 +232,6 @@ public class CommandDispatcher<S> {
|
||||
if (child != null) {
|
||||
forked |= context.isForked();
|
||||
if (child.hasNodes()) {
|
||||
foundCommand = true;
|
||||
final RedirectModifier<S> modifier = context.getRedirectModifier();
|
||||
if (modifier == null) {
|
||||
if (next == null) {
|
||||
@ -249,6 +248,8 @@ public class CommandDispatcher<S> {
|
||||
for (final S source : results) {
|
||||
next.add(child.copyFor(source));
|
||||
}
|
||||
} else {
|
||||
foundCommand = true;
|
||||
}
|
||||
} catch (final CommandSyntaxException ex) {
|
||||
consumer.onCommandComplete(context, false, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user