-
Bug
-
Resolution: Fixed
-
1.18.10.27 Beta, 1.17.11 Hotfix
-
None
-
Confirmed
-
Windows
-
699206
The bug
Scores displayed on the sidebar are supposed to appear in descending order, with the largest values on top and lower values below.
However, sufficiently large scores (near the integer limit) mess up the order.
How to reproduce
/scoreboard objectives add test dummy /scoreboard objectives setdisplay sidebar test /scoreboard players set a test 2147483647 /scoreboard players set b test 100 /scoreboard players set c test 0 /scoreboard players set d test -100 /scoreboard players set e test -2147483648
Expected result
Scores are listed in alphabetical order
Actual result
d is listed first, despite being a negative value. Now do
/scoreboard players reset a
Now e is listed first, and d is in the proper spot. Now do
/scoreboard players reset e
Finally everything is in the correct order