Fixed the code for making a spawned mobs kill a players