Added player death
Crash fix when player died while core was aquired