SteamWar/FightSystem
Archiviert
13
1

Remove DebugCode
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 21:54:56 +01:00
Ursprung d5140b83a0
Commit 84a0187b45

Datei anzeigen

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