Removed useless code in Player.