SteamWar/FightSystem
Archiviert
13
1
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-04-04 21:26:21 +02:00
Ursprung 2705bda00d
Commit 227e7a7eac

Datei anzeigen

@ -403,6 +403,7 @@ public class FightTeam implements IFightTeam{
Player player = fightPlayer.getPlayer(); Player player = fightPlayer.getPlayer();
PersonalKitCreator.closeIfInKitCreator(player); PersonalKitCreator.closeIfInKitCreator(player);
player.closeInventory();
player.getInventory().clear(); player.getInventory().clear();
Fight.setPlayerGamemode(player, GameMode.SURVIVAL); Fight.setPlayerGamemode(player, GameMode.SURVIVAL);
fightPlayer.getKit().loadToPlayer(player); fightPlayer.getKit().loadToPlayer(player);