Added a check for Player.Wealth being null