setToBiggest method

Score setToBiggest(
  1. Score score
)

compares two scores and sets the biggest to this one

Implementation

Score setToBiggest(Score score) {
  return addCommandRet(
    Command(
      'scoreboard players operation ${isBigger(score).getString()}',
    ),
  );
}