Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
d5140b83a0
Commit
84a0187b45
@ -77,13 +77,11 @@ public class LeaveableArena implements Listener {
|
||||
markInArena(player);
|
||||
} else if(!inArena && spectator) {
|
||||
player.setGameMode(spectatorsInArena.remove(player));
|
||||
System.out.println("Mark out arena: " + player.getName());
|
||||
}
|
||||
}
|
||||
|
||||
private void markInArena(Player player) {
|
||||
spectatorsInArena.put(player, player.getGameMode());
|
||||
Fight.setPlayerGamemode(player, GameMode.SPECTATOR);
|
||||
System.out.println("Mark in arena: " + player.getName());
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren