From fdce32e04cf9f98df18dab432a380c15729f0e5f Mon Sep 17 00:00:00 2001 From: eueln Date: Sun, 9 Nov 2014 21:27:03 -0600 Subject: [PATCH] Correct FTeamWrapper faction disband detection --- .../com/massivecraft/factions/scoreboards/FTeamWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/scoreboards/FTeamWrapper.java b/src/main/java/com/massivecraft/factions/scoreboards/FTeamWrapper.java index 545eca39..99b928a4 100644 --- a/src/main/java/com/massivecraft/factions/scoreboards/FTeamWrapper.java +++ b/src/main/java/com/massivecraft/factions/scoreboards/FTeamWrapper.java @@ -50,7 +50,7 @@ public class FTeamWrapper { FTeamWrapper wrapper = wrappers.get(faction); Set factionMembers = faction.getFPlayers(); - if (wrapper != null && Factions.getInstance().getFactionById(faction.getId()) != null) { + if (wrapper != null && Factions.getInstance().getFactionById(faction.getId()) == null) { // Faction was disbanded wrapper.unregister(); wrappers.remove(faction);