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() {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user