Fixed Entity deaths. Now doesn't crash client.