Ursprung
0a82dc362f
Commit
6ea8001cf5
@ -67,7 +67,7 @@ public class PlayerMoveListener extends BasicListener {
|
|||||||
if(to.getY() <= Config.underArenaBorder) {
|
if(to.getY() <= Config.underArenaBorder) {
|
||||||
if(player.getGameMode() == GameMode.SPECTATOR){
|
if(player.getGameMode() == GameMode.SPECTATOR){
|
||||||
reset(event, DENY_ARENA);
|
reset(event, DENY_ARENA);
|
||||||
}else if(FightSystem.getFightState() == FightState.RUNNING)
|
}else if(FightSystem.getFightState() == FightState.RUNNING || FightSystem.getFightState() == FightState.ENTERN)
|
||||||
player.damage(2);
|
player.damage(2);
|
||||||
else if(team != null){
|
else if(team != null){
|
||||||
player.teleport(team.getSpawn());
|
player.teleport(team.getSpawn());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren