Add usage string.

This commit is contained in:
GJ 2013-02-11 15:24:20 -05:00
parent 1c0e392552
commit a597a7d281

View File

@ -23,6 +23,8 @@ public class PartyDisbandCommand implements CommandExecutor {
return true; return true;
} }
switch (args.length) {
case 1:
player = (Player) sender; player = (Player) sender;
playerParty = Users.getPlayer(player).getParty(); playerParty = Users.getPlayer(player).getParty();
@ -42,6 +44,12 @@ public class PartyDisbandCommand implements CommandExecutor {
PartyManager.disbandParty(playerParty); PartyManager.disbandParty(playerParty);
return true; return true;
default:
sender.sendMessage(LocaleLoader.getString("Commands.Usage.1", "party", "disband"));
return true;
}
} }
} }