Add /f vault description.
This commit is contained in:
parent
0294a60675
commit
9f89010af1
@ -46,7 +46,7 @@ public class CmdVault extends FCommand {
|
||||
|
||||
int max = myFaction.getMaxVaults();
|
||||
if (number > max) {
|
||||
me.sendMessage(TL.COMMAND_VAULTS_TOOHIGH.format(number, max));
|
||||
me.sendMessage(TL.COMMAND_VAULT_TOOHIGH.format(number, max));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -79,6 +79,6 @@ public class CmdVault extends FCommand {
|
||||
|
||||
@Override
|
||||
public TL getUsageTranslation() {
|
||||
return TL.COMMAND_VERSION_DESCRIPTION;
|
||||
return TL.COMMAND_VAULT_DESCRIPTION;
|
||||
}
|
||||
}
|
||||
|
@ -437,7 +437,8 @@ public enum TL {
|
||||
COMMAND_SETMAXVAULTS_DESCRIPTION("Set max vaults for a Faction."),
|
||||
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_OTHER("That's not a faction"),
|
||||
|
Loading…
Reference in New Issue
Block a user