Minor fixes

This commit is contained in:
boy0001
2015-08-23 22:04:17 +10:00
parent dbdd207390
commit d52e9b4c8c
8 changed files with 29 additions and 22 deletions

View File

@ -136,6 +136,9 @@ public abstract class Command<E extends CommandCaller> extends CommandManager {
}
final public Argument<?>[] getRequiredArguments() {
if (this.requiredArguments == null) {
return new Argument<?>[0];
}
return this.requiredArguments;
}