SteamWar/MissileWars
Archiviert
13
0

Fix health issues after restart
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-03-10 18:23:05 +01:00
Ursprung 95ccb0598c
Commit a5478a80a3

Datei anzeigen

@ -164,6 +164,7 @@ public class MWTeam {
List<Player> tempPlayer = new ArrayList<>(players); List<Player> tempPlayer = new ArrayList<>(players);
players.clear(); players.clear();
tempPlayer.forEach(player -> player.getInventory().clear()); tempPlayer.forEach(player -> player.getInventory().clear());
tempPlayer.forEach(player -> player.setHealth(20.0));
tempPlayer.forEach(this::join); tempPlayer.forEach(this::join);
} }