From 9f89010af109a661f26b16e9160b00f539b62a90 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Mon, 30 May 2016 16:25:27 -0700 Subject: [PATCH] Add /f vault description. --- src/main/java/com/massivecraft/factions/cmd/CmdVault.java | 4 ++-- src/main/java/com/massivecraft/factions/zcore/util/TL.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdVault.java b/src/main/java/com/massivecraft/factions/cmd/CmdVault.java index 583c5c62..66432014 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdVault.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdVault.java @@ -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; } } diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TL.java b/src/main/java/com/massivecraft/factions/zcore/util/TL.java index fc2f93ef..d101663e 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TL.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TL.java @@ -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 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"),