From 29836a9183c8fd7352ddbd0856b2dc68adfabf8e Mon Sep 17 00:00:00 2001 From: eueln Date: Fri, 7 Nov 2014 12:55:59 -0600 Subject: [PATCH] Remove faction team prefixes when disbanded --- src/main/java/com/massivecraft/factions/cmd/CmdDisband.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java b/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java index 78150b98..010c20a2 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdDisband.java @@ -4,6 +4,7 @@ import com.massivecraft.factions.*; import com.massivecraft.factions.event.FPlayerLeaveEvent; import com.massivecraft.factions.event.FactionDisbandEvent; import com.massivecraft.factions.integration.Econ; +import com.massivecraft.factions.scoreboards.FTeamWrapper; import com.massivecraft.factions.struct.Permission; import com.massivecraft.factions.struct.Role; import org.bukkit.Bukkit; @@ -93,5 +94,6 @@ public class CmdDisband extends FCommand { } Factions.getInstance().removeFaction(faction.getId()); + FTeamWrapper.applyUpdates(faction); } }