Fixed an InternalServerError bug when respawning players