mojira.dev
MC-311828

The success message of `/scoreboard` when setting entities' scores to 0 reports that it affected 0 entities

Expected behaviour

The command feedback should contain the number of affected entities.

Observed behaviour

Setting entity scores to 0 says “Set [ScoreName] for 0 entities to 0”, regardless of the number of entities the score was set for. It works correctly when setting scores to any value other than 0. This bug is new in 26.3.

How to reproduce

/scoreboard objectives add Foo dummy
/scoreboard players set @e Foo 0

Then read the command feedback in chat.

Linked issues

Comments 0

No comments.

SilicatYT

(Unassigned)

Confirmed

Platform HC

Normal

Commands

26.3 Release Candidate 2

Retrieved