Fix for /f autosafe and /f autowar commands not working properly if the user was not in a faction
This commit is contained in:
1 parent
a90e87ea24
commit
839a03d8d1
1 file changed
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user