Correct FTeamWrapper faction disband detection

This commit is contained in:
eueln 2014-11-09 21:27:03 -06:00
parent 00045b0186
commit fdce32e04c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class FTeamWrapper {
FTeamWrapper wrapper = wrappers.get(faction);
Set<FPlayer> 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);