Mojira Archive
MCPE-176581

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

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>

Unresolved

XCBerJunX

2023-11-01, 04:25 PM

2024-09-06, 02:28 PM

3

2

Confirmed

1158947

/scoreboard

1.20.40, 1.21.23 Hotfix

-