Fixed a null pointer with player profiles.