-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 14w25a, Minecraft 14w25b
-
None
-
Unconfirmed
When testing for a value of a player's scoreboard that has been reset or a new scoreboard, the old functionality allowed for a player to default to 0 if no score was set. The new functionality refers to nothing if no value is set.
How to recreate:
1) Add a new scoreboard objective - /scoreboard objectives add Test dummy
2) Test for a player with a score of the objective: /say @a[score_Test=0]
What used to happen:
[@] djimusic
What happens in 14w10c+:
That player cannot be found.
Back in Snapshot 14w08 and below, the functionality was different. They could have made this change on purpose, but the problem with it is the fact that there is no way to set everyone's score to 0 if they do not have a score without using @a. If I set everyone's score to 1, and then someone joins in the game, they don't have a score. The only way to give them a score of 0 is to set EVERYONE's score to 0, which overwrites everyone's old score of 1. This is a problem for objectives like points as when the players join the server, they have to have a score set to 0 instead of the default being zero.
This also affects scoreboard players reset as it deletes the value instead of setting every value to zero. Please reset every player registered to zero instead of deleting the value allowing me to test for the value once again.
Thanks for reading this. I am attaching Screenshots of the Old and new behavior.
- duplicates
-
MC-50601 Scoreboard reset not equal to 0
- Resolved