diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java index 6dfae63..51c75cf 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java @@ -33,9 +33,11 @@ import de.steamwar.fightsystem.utils.Region; import de.steamwar.fightsystem.utils.WorldeditWrapper; import de.steamwar.sql.SchematicData; import de.steamwar.sql.SchematicNode; -import org.bukkit.*; +import org.bukkit.Bukkit; +import org.bukkit.DyeColor; +import org.bukkit.Location; +import org.bukkit.Material; import org.bukkit.block.Block; -import org.bukkit.event.HandlerList; import org.bukkit.util.Vector; import java.io.IOException; @@ -154,7 +156,7 @@ public class FightSchematic extends StateDependent { replaceSync(Material.BEDROCK, Material.SLIME_BLOCK); if(!Config.ReplaceWithBlockupdates) - HandlerList.unregisterAll(freezer); + freezer.disable(); } public void pasteTeamName(){