From 6ea8001cf5deba81adaf9a69f0036a57d34f585a Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 28 Mar 2020 08:53:16 +0100 Subject: [PATCH] Hotfix #119 Signed-off-by: Lixfel --- .../de/steamwar/fightsystem/listener/PlayerMoveListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/PlayerMoveListener.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/PlayerMoveListener.java index 96176b1..5abe77f 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/PlayerMoveListener.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/PlayerMoveListener.java @@ -67,7 +67,7 @@ public class PlayerMoveListener extends BasicListener { if(to.getY() <= Config.underArenaBorder) { if(player.getGameMode() == GameMode.SPECTATOR){ reset(event, DENY_ARENA); - }else if(FightSystem.getFightState() == FightState.RUNNING) + }else if(FightSystem.getFightState() == FightState.RUNNING || FightSystem.getFightState() == FightState.ENTERN) player.damage(2); else if(team != null){ player.teleport(team.getSpawn());