fix for null pointer exception when getting a player's groups at login