Fixed F InventorySee bug

This commit is contained in:
Driftay 2019-08-03 03:15:35 -04:00
parent f2892fdef3
commit 11a805747c

View File

@ -37,8 +37,9 @@ public class CmdInventorySee extends FCommand {
@Override @Override
public void perform() { public void perform() {
if (P.p.getConfig().getBoolean("f-inventory-see.Enabled")) { if (!P.p.getConfig().getBoolean("f-inventory-see.Enabled")) {
fme.msg(TL.GENERIC_DISABLED); fme.msg(TL.GENERIC_DISABLED);
return;
} }
Access use = myFaction.getAccess(fme, PermissableAction.TERRITORY); Access use = myFaction.getAccess(fme, PermissableAction.TERRITORY);