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
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}