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