diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFromToListener.java b/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFromToListener.java index 5d2bde6..23b0eac 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFromToListener.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/listener/BlockFromToListener.java @@ -10,15 +10,12 @@ import org.bukkit.event.block.BlockFromToEvent; public class BlockFromToListener implements Listener { - public BlockFromToListener(){ - + public BlockFromToListener(){ new StateDependentListener(ArenaMode.All, FightState.All, this); - } @EventHandler - public void onBlockFromTo(BlockFromToEvent event) { - + public void onBlockFromTo(BlockFromToEvent event) { if (Fight.getBlueTeam().getSchemRegion().inRegion(event.getBlock()) && Fight.getBlueTeam().getSchemRegion().inRegion(event.getToBlock())) { return;