Fix for /f autosafe and /f autowar commands not working properly if the user was not in a faction
This commit is contained in:
parent
a90e87ea24
commit
839a03d8d1
@ -151,8 +151,6 @@ public class FPlayer {
|
||||
}
|
||||
|
||||
public boolean autoSafeZoneEnabled() {
|
||||
if (this.factionId == 0)
|
||||
return false;
|
||||
return autoSafeZoneEnabled;
|
||||
}
|
||||
public void enableAutoSafeZone(boolean enabled) {
|
||||
@ -164,8 +162,6 @@ public class FPlayer {
|
||||
}
|
||||
|
||||
public boolean autoWarZoneEnabled() {
|
||||
if (this.factionId == 0)
|
||||
return false;
|
||||
return autoWarZoneEnabled;
|
||||
}
|
||||
public void enableAutoWarZone(boolean enabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user