From bb3114ba6165863caa17af76ad930b1a46bdd1ca Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 23 Dec 2021 12:09:27 +0100 Subject: [PATCH] Fix direction Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/TeamArea.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/listener/TeamArea.java b/FightSystem_Core/src/de/steamwar/fightsystem/listener/TeamArea.java index 5dfa2a4..2dfaf34 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/listener/TeamArea.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/listener/TeamArea.java @@ -81,7 +81,7 @@ public class TeamArea implements Listener { @EventHandler public void blockBreak(BlockBreakEvent event) { Block block = event.getBlock(); - if(Config.BluePasteRegion.getMinY() >= block.getY()) + if(Config.BluePasteRegion.getMinY() <= block.getY()) return; event.setCancelled(true);