Have factions return as 0 instead of null.
This commit is contained in:
parent
b66c9ad078
commit
27bf2008f1
@ -97,7 +97,7 @@ public abstract class MemoryFPlayer implements FPlayer {
|
||||
|
||||
public Faction getFaction() {
|
||||
if (this.factionId == null) {
|
||||
return null;
|
||||
this.factionId = "0";
|
||||
}
|
||||
return Factions.getInstance().getFactionById(this.factionId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user