fixed player not taking damage.