Fix spectators below (M)WGs #278
@ -51,8 +51,11 @@ public class ArenaBorder implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
FightTeam team = Fight.getPlayerTeam(player);
|
FightTeam team = Fight.getPlayerTeam(player);
|
||||||
if(team == null || player.getGameMode() == GameMode.SPECTATOR)
|
if(team == null || player.getGameMode() == GameMode.SPECTATOR){
|
||||||
|
if(to.getY() <= Config.ArenaRegion.getMinY())
|
||||||
|
reset(event);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(to.getY() <= Config.ArenaRegion.getMinY()) {
|
if(to.getY() <= Config.ArenaRegion.getMinY()) {
|
||||||
if(FightState.infight())
|
if(FightState.infight())
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren