Fixed #34 disabled banner alert

This commit is contained in:
Svenja Reissaus 2018-08-05 01:52:12 -03:00
parent 7babd6c1cb
commit 4c80ade48d

View File

@ -32,7 +32,7 @@ public class CmdBanner extends FCommand {
@Override @Override
public void perform() { public void perform() {
if (!P.p.getConfig().getBoolean("fbanners.Enabled")) { if (!P.p.getConfig().getBoolean("fbanners.Enabled")) {
msg(TL.COMMAND_BANNER_DISABLED);
return; return;
} }
if (!fme.hasMoney(P.p.getConfig().getInt("fbanners.Banner-Cost", 5000))) { if (!fme.hasMoney(P.p.getConfig().getInt("fbanners.Banner-Cost", 5000))) {