From 9774b28d571f7f30cd907b743ff81069c9a303e5 Mon Sep 17 00:00:00 2001 From: MoBrot <90271578+MoBrot@users.noreply.github.com> Date: Sun, 3 Jul 2022 14:50:25 +0200 Subject: [PATCH] Added Format --- .../steamwar/fightsystem/listener/BlockFromToListener.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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;