3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

Don't call next suggestion provider if there are no args left.

Dieser Commit ist enthalten in:
Albert Pham 2015-10-28 14:08:29 -07:00
Ursprung cba32732a3
Commit 6cfc60b2d6

Datei anzeigen

@ -43,6 +43,11 @@ public abstract class SimpleCommand<T> extends ParameterCommand<T> {
throw e; throw e;
} }
} }
// There's nothing more anyway
if (args.position() == args.size()) {
return suggestions;
}
} }
return suggestions; return suggestions;
} }