mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Add usage string.
This commit is contained in:
parent
1c0e392552
commit
a597a7d281
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user