Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
3b19d81ed9
Commit
8bd0d1c2a2
@ -76,7 +76,9 @@ public class LeaveableArena implements Listener {
|
||||
if(inArena && !spectator) {
|
||||
markInArena(player);
|
||||
} else if(!inArena && spectator) {
|
||||
player.setGameMode(spectatorsInArena.remove(player));
|
||||
GameMode mode = spectatorsInArena.remove(player);
|
||||
if(mode != null)
|
||||
player.setGameMode(mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren