mojira.dev
MC-123104

'/scoreboard players reset' removes name from sidebar of different objective

When scoreboard players reset is run, it will clear the entities name from the sidebar, as if their score was reset, even if the score that was reset was not the one that was in the sidebar. This is shown if you run the following commands in chat.

/scoreboard objectives add Ob1 dummy Objective_One
/scoreboard objectives add Ob2 dummy Objective_Two
/scoreboard objectives setdisplay sidebar Ob1
/scoreboard players add @s Ob1 100
/scoreboard players add @s Ob2 200
/scoreboard players reset @s Ob2

Linked issues

Comments 3

Confirmed and not just with dummy scoreboards, I used these two objectives:
minecraft.broken:minecraft.gold_ore
minecraft.custom:minecraft.sneak_time
Resetting the one not displayed in the sidebar makes the one in the sidebar disappear. It only reappears if the displayed objective is changed.

Confirmed. This appears to happen with all of the minecraft.<something>:minecraft.<something> scoreboard types.

still present in 18w01a

Johnathan Pera

Nathan Adams

Confirmed

Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a

Minecraft 18w02a

Retrieved