SteamWar/FightSystem
Archiviert
13
1

Add debug messages
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-03-04 17:13:47 +01:00
Ursprung 7a99f437c9
Commit 8c34469705

Datei anzeigen

@ -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());
} }
} }