Merge pull request 'Fix spectators below (M)WGs' (#278) from fixBelowWGs into master
Reviewed-on: #278 Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
9511237b3a
@ -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