Remove faction team prefixes when disbanded

This commit is contained in:
eueln 2014-11-07 12:55:59 -06:00
parent ea8bb9e24f
commit 29836a9183

View File

@ -4,6 +4,7 @@ import com.massivecraft.factions.*;
import com.massivecraft.factions.event.FPlayerLeaveEvent; import com.massivecraft.factions.event.FPlayerLeaveEvent;
import com.massivecraft.factions.event.FactionDisbandEvent; import com.massivecraft.factions.event.FactionDisbandEvent;
import com.massivecraft.factions.integration.Econ; import com.massivecraft.factions.integration.Econ;
import com.massivecraft.factions.scoreboards.FTeamWrapper;
import com.massivecraft.factions.struct.Permission; import com.massivecraft.factions.struct.Permission;
import com.massivecraft.factions.struct.Role; import com.massivecraft.factions.struct.Role;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
@ -93,5 +94,6 @@ public class CmdDisband extends FCommand {
} }
Factions.getInstance().removeFaction(faction.getId()); Factions.getInstance().removeFaction(faction.getId());
FTeamWrapper.applyUpdates(faction);
} }
} }