Only clear warps if faction is normal and not null.
This commit is contained in:
parent
9076e780cf
commit
57c0c9fd09
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user