Add /f vault description.

This commit is contained in:
Trent Hensler 2016-05-30 16:25:27 -07:00
parent 0294a60675
commit 9f89010af1
2 changed files with 4 additions and 3 deletions

View File

@ -46,7 +46,7 @@ public class CmdVault extends FCommand {
int max = myFaction.getMaxVaults(); int max = myFaction.getMaxVaults();
if (number > max) { if (number > max) {
me.sendMessage(TL.COMMAND_VAULTS_TOOHIGH.format(number, max)); me.sendMessage(TL.COMMAND_VAULT_TOOHIGH.format(number, max));
return; return;
} }
@ -79,6 +79,6 @@ public class CmdVault extends FCommand {
@Override @Override
public TL getUsageTranslation() { public TL getUsageTranslation() {
return TL.COMMAND_VERSION_DESCRIPTION; return TL.COMMAND_VAULT_DESCRIPTION;
} }
} }

View File

@ -437,7 +437,8 @@ public enum TL {
COMMAND_SETMAXVAULTS_DESCRIPTION("Set max vaults for a Faction."), COMMAND_SETMAXVAULTS_DESCRIPTION("Set max vaults for a Faction."),
COMMAND_SETMAXVAULTS_SUCCESS("&aSet max vaults for &e%s &ato &b%d"), COMMAND_SETMAXVAULTS_SUCCESS("&aSet max vaults for &e%s &ato &b%d"),
COMMAND_VAULTS_TOOHIGH("You tried to open vault %d but your Faction only has %d vaults."), COMMAND_VAULT_DESCRIPTION("/f vault <number> to open one of your Faction's vaults."),
COMMAND_VAULT_TOOHIGH("&cYou tried to open vault %d but your Faction only has %d vaults."),
COMMAND_SHOW_NOFACTION_SELF("You are not in a faction"), COMMAND_SHOW_NOFACTION_SELF("You are not in a faction"),
COMMAND_SHOW_NOFACTION_OTHER("That's not a faction"), COMMAND_SHOW_NOFACTION_OTHER("That's not a faction"),