Fixed #34 disabled banner alert
This commit is contained in:
parent
7babd6c1cb
commit
4c80ade48d
@ -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))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user