Fixed hook issue in player entities.