Bunch of Econ, Lang.yml Additions

This commit is contained in:
Driftay
2019-11-29 04:58:59 -05:00
parent f5e9ce3d90
commit 939a60c611
6 changed files with 87 additions and 23 deletions

View File

@@ -21,7 +21,7 @@ public class CmdUpgrades extends FCommand {
@Override
public void perform(CommandContext context) {
if (!FactionsPlugin.getInstance().getConfig().getBoolean("fupgrades.Enabled")) {
context.fPlayer.sendMessage("This command is disabled!");
context.fPlayer.msg(TL.COMMAND_UPGRADES_DISABLED);
return;
}
new FUpgradesGUI().openMainMenu(context.fPlayer);