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 -2147483648Expected result
Scores are listed in alphabetical order
Actual resultd is listed first, despite being a negative value. Now do
/scoreboard players reset aNow e is listed first, and d is in the proper spot. Now do
/scoreboard players reset eFinally everything is in the correct order
Attachments
Comments 0
No comments.