[Live Critical] Custom Named Entities Not Working Correctly with Scoreboards
Summary: Custom Named Entities Not Working Correctly with Scoreboards and do not follow selector arguments. Runs commands that should fail. Creates duplicate score entries for a single entity.
Repro Steps:
- Create a new creative world in 1.8.1
- /scoreboard objectives add TestScore dummy
- /scoreboard objectives setdisplay sidebar TestScore
- Take a nametag and place it in an anvil. Name the nametag Steve.
- Place an armor stand in the world and use the nametag on it, naming it Steve.
- /scoreboard players set @e[name=Steve] TestScore 3
- Notice: A UUID for the armor stand named "Steve" appears on the sidebar.
- Run Three Times: /scoreboard players remove @e[name=Steve,scores=
{TestScore=1..3},type=armor_stand] TestScore 1
# Notice: how the armor stand Steve's score is now zero, which means if you run it again, it should fail and nothing should happen.
# Run again /scoreboard players remove @e[name=Steve,scores={TestScore=1..3},type=armor_stand] TestScore 1
Observed Results:
- On the sidebar, in addition to the UUID of the armor stand with score of 0, "Steve" has shown up with a score of -1.
- Continuing to run the command, continues to decrease the Steve score.
Expected Results: The command should fail, and the custom name of the entity should not appear.
Impact: This prevents creators from using entities and scoreboards together in an expected way, through calling entities based on their custom given name and the scores of the entity. This breaks the game logic in the selector for out of range scores that should fail the command. This selector failure also impacts other scoreboard related commands, as they will run despite the expected failed condition.