This commit is contained in:
boy0001
2015-08-13 03:45:24 +10:00
parent 5e38d032e0
commit 160ac794e1
8 changed files with 254 additions and 179 deletions

View File

@ -113,7 +113,7 @@ public abstract class Command<E extends CommandCaller> extends CommandManager {
return this.command;
}
final public String getUsage() {
public String getUsage() {
if (this.usage.length() == 0) {
return "/{label} " + command;
}
@ -127,7 +127,7 @@ public abstract class Command<E extends CommandCaller> extends CommandManager {
return this.permission;
}
final public String getDescription() {
public String getDescription() {
return this.description;
}