mojira.dev
MC-133451

Players without scores appear in the player list as score of 0

The bug

If a scoreboard objective is set to display in the player list, players without scores appear as having a score of 0.

How to reproduce

  1. Create a new world

  2. Run /scoreboard objectives add test dummy

  3. Run /scoreboard objectives setdisplay list test
    → ❌ Notice that, while the player has no score recorded, they appear as having a score of 0 in the player list

Example

Here is an example in video:

[media]

Linked issues

Attachments

Comments 10

Can't reproduce

Can confirm now, thank you. As shown it can also erroneously put a 0 on the sidebar, though the player still has no score (@a[scores={test=0}] finds no one)

see attached video

see attached video

yes, if u add the score to list it will show 0, then if u add it to sidebar it will show 0 while still have no value until it get one and get reset again

yes, if u add the score to list it will show 0, then if u add it to sidebar it will show 0 while still have no value until it get one and get reset again

Still in 19w13b and 19w14a

Still in 1.14 Release

Still in 1.14.1 Release

Can confirm in 1.19.2.

Ely G

(Unassigned)

Confirmed

Platform

Low

Commands, Text

scoreboard, scoreboard-objectives

Minecraft 1.12.2, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, ..., 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.1

Retrieved