SteamWar/FightSystem
Archiviert
13
1

Fix kitcreator closing

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-04-24 17:43:13 +02:00
Ursprung d81259fac9
Commit 3bdc61fac8

Datei anzeigen

@ -204,6 +204,7 @@ public class FightTeam implements IFightTeam{
public void removePlayer(Player player) { public void removePlayer(Player player) {
FightPlayer fightPlayer = getFightPlayer(player); FightPlayer fightPlayer = getFightPlayer(player);
PersonalKitCreator.closeIfInKitCreator(player);
List<TechHider.ChunkPos> chunksToReload = TechHider.prepareChunkReload(player, true); List<TechHider.ChunkPos> chunksToReload = TechHider.prepareChunkReload(player, true);
players.remove(player); players.remove(player);
team.removeEntry(player.getName()); team.removeEntry(player.getName());