Only clear warps if faction is normal and not null.

This commit is contained in:
drtshock 2015-04-26 00:03:35 -05:00
parent 9076e780cf
commit 57c0c9fd09

View File

@ -82,8 +82,8 @@ public abstract class MemoryBoard extends Board {
Faction faction = Factions.getInstance().getFactionById(factionId); Faction faction = Factions.getInstance().getFactionById(factionId);
if (faction != null && faction.isNormal()) { if (faction != null && faction.isNormal()) {
faction.clearAllClaimOwnership(); faction.clearAllClaimOwnership();
}
faction.clearWarps(); faction.clearWarps();
}
clean(factionId); clean(factionId);
} }