Fix for /f autosafe and /f autowar commands not working properly if the user was not in a faction

This commit is contained in:
Brettflan 2011-07-04 08:36:30 -05:00
parent a90e87ea24
commit 839a03d8d1

View File

@ -151,8 +151,6 @@ public class FPlayer {
} }
public boolean autoSafeZoneEnabled() { public boolean autoSafeZoneEnabled() {
if (this.factionId == 0)
return false;
return autoSafeZoneEnabled; return autoSafeZoneEnabled;
} }
public void enableAutoSafeZone(boolean enabled) { public void enableAutoSafeZone(boolean enabled) {
@ -164,8 +162,6 @@ public class FPlayer {
} }
public boolean autoWarZoneEnabled() { public boolean autoWarZoneEnabled() {
if (this.factionId == 0)
return false;
return autoWarZoneEnabled; return autoWarZoneEnabled;
} }
public void enableAutoWarZone(boolean enabled) { public void enableAutoWarZone(boolean enabled) {