From 57c0c9fd09dfea3b86f119064b1befdc53953bab Mon Sep 17 00:00:00 2001 From: drtshock Date: Sun, 26 Apr 2015 00:03:35 -0500 Subject: [PATCH] Only clear warps if faction is normal and not null. --- .../com/massivecraft/factions/zcore/persist/MemoryBoard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java index 89251133..705f241b 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryBoard.java @@ -82,8 +82,8 @@ public abstract class MemoryBoard extends Board { Faction faction = Factions.getInstance().getFactionById(factionId); if (faction != null && faction.isNormal()) { faction.clearAllClaimOwnership(); + faction.clearWarps(); } - faction.clearWarps(); clean(factionId); }