Fix spectators below (M)WGs
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
5ed30e9123
Commit
9cef84f7b3
@ -51,8 +51,11 @@ public class ArenaBorder implements Listener {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if(to.getY() <= Config.ArenaRegion.getMinY()) {
|
||||
if(FightState.infight())
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren