Fixed F Admin Bug
This commit is contained in:
parent
be3eaba002
commit
18d3c4ec4a
@ -34,7 +34,7 @@ public class CmdAdmin extends FCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void perform() {
|
public void perform() {
|
||||||
FPlayer fyou = this.argAsBestFPlayerMatch(0);
|
FPlayer fyou = this.argAsBestFPlayerMatch(0);
|
||||||
if (fyou == null) {
|
if (fyou == null || fyou.getFaction().isWarZone() || fyou.getFaction().isWilderness() || fyou.getFaction().isSafeZone()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user