SteamWar/FightSystem
Archiviert
13
1

Fix reset
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-06-25 21:06:35 +02:00
Ursprung 722a8748d5
Commit fd5db46700

Datei anzeigen

@ -204,7 +204,7 @@ public class FightTeam {
for(UUID uuid : playerSet){
Player player = Bukkit.getPlayer(uuid);
if(player == null)
removePlayer(player);
removePlayer(players.get(uuid).getPlayer());
}
FightPlayer leaderBackup = leader;
playerSet.removeIf(uuid -> Bukkit.getPlayer(uuid) == null);