Have factions return as 0 instead of null.

This commit is contained in:
drtshock 2014-11-05 18:36:13 -06:00
parent b66c9ad078
commit 27bf2008f1

View File

@ -97,7 +97,7 @@ public abstract class MemoryFPlayer implements FPlayer {
public Faction getFaction() { public Faction getFaction() {
if (this.factionId == null) { if (this.factionId == null) {
return null; this.factionId = "0";
} }
return Factions.getInstance().getFactionById(this.factionId); return Factions.getInstance().getFactionById(this.factionId);
} }