Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-176581

/scoreboard players random with max 2147483647 always sets score to minimum.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.40, 1.21.23 Hotfix
    • Confirmed
    • Multiple
    • 1158947

      Steps to reproduce

      1. Type in chat /scoreboard objectives add a dummy
      2. Type in chat /scoreboard players random @s a <min> 2147483647 where <min> is replaced by any integer like 0 or 111

      Expected output

      The second command set the executer's score on objective a to a random value between <min> and 2147483647.

      Observed output

      The second command always set executer's score on objective a to <min>

            XCBerJunX XCBerJunX
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: