SteamWar/FightSystem
Archiviert
13
1
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-03-28 08:53:16 +01:00
Ursprung 0a82dc362f
Commit 6ea8001cf5

Datei anzeigen

@ -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());