Added check if there are any players before parsing them