public void SetSpawn(Player player) { player.SpawnPosition = (PlayerLocation) player.KnownPosition.Clone(); player.SendSetSpawnPosition(); player.Level.BroadcastMessage($"{player.Username} set new spawn position.", type: MessageType.Raw); player.HealthManager.Kill(); }