Rewrite/rename almost all messages

This commit is contained in:
Esophose 2018-10-01 22:23:05 -06:00
parent 8a73b21431
commit 4babd4a792
22 changed files with 332 additions and 589 deletions

View file

@ -59,7 +59,6 @@ public interface CommandModule {
* @param command The command to display usage for
*/
public static void printUsage(PPlayer pplayer, CommandModule command) {
LangManager.sendMessage(pplayer, Lang.COMMAND_MISSING_ARGS);
LangManager.sendCustomMessage(pplayer, String.format("/{0} {1}", command.getName(), command.getArguments()));
}
@ -72,7 +71,6 @@ public interface CommandModule {
* @param subCommandArgs The sub-command's arguments
*/
public static void printSubcommandUsage(PPlayer pplayer, CommandModule command, String subCommandName, String subCommandArgs) {
LangManager.sendMessage(pplayer, Lang.COMMAND_MISSING_ARGS);
LangManager.sendCustomMessage(pplayer, String.format("/{0} {1} {2}", command.getName(), subCommandName, subCommandArgs));
}