Fixed F Admin Bug

This commit is contained in:
Driftay 2019-03-31 18:24:26 -04:00
parent be3eaba002
commit 18d3c4ec4a

View File

@ -34,7 +34,7 @@ public class CmdAdmin extends FCommand {
@Override
public void perform() {
FPlayer fyou = this.argAsBestFPlayerMatch(0);
if (fyou == null) {
if (fyou == null || fyou.getFaction().isWarZone() || fyou.getFaction().isWilderness() || fyou.getFaction().isSafeZone()) {
return;
}