3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-27 03:12:37 +01:00

Fixed issue where the use of non-existent subcommands had no response.

Dieser Commit ist enthalten in:
sk89q 2014-06-27 20:00:02 -07:00
Ursprung d96d3cf8bc
Commit 5347cd4e34

Datei anzeigen

@ -41,9 +41,9 @@ public class SimpleDispatcherCommand extends SimpleDispatcher implements Command
@Override @Override
public void call(CommandContext context) throws CommandException { public void call(CommandContext context) throws CommandException {
if (context.argsLength() >= 1) { boolean success = context.argsLength() >= 1 && super.call(context.getRemainingString(0), context.getLocals()) != null;
super.call(context.getRemainingString(0), context.getLocals());
} else { if (!success) {
Set<String> aliases = getPrimaryAliases(); Set<String> aliases = getPrimaryAliases();
if (aliases.size() == 0) { if (aliases.size() == 0) {