NeedAGoodUsername
- needagoodusername
- needagoodusername
- Europe/Stockholm
- Yes
- No
5 issues
Key
Summary
Status
Reporter
Assignee
Created
Added Linked Issues:
is cloned by
MC-28229
Changed Description:
I've found that, with scoreboard objectives, if the objective has a dash ("-") in the name, then the score argument for command blocks won't work to see if anyone has the score.
To reproduce:
- Start a new world and give yourself a command block.
- Type in the command say @p[score_Foo-bar=44]
- Power the command block and it should say your name.
- Click on the command block and remove the "-" so it should now be _say @p[score_Foobar=44]
- Power the command block again and notice how it doesn't say your name this time.
Changed Description:
I've found that, with scoreboard objectives, if the objective has a dash ("-") in the name, then the score argument for command blocks won't work to see if anyone has the score.
To reproduce:
- Start a new world and give yourself a command block.
- Type in the command say @p[score_Foo-bar=44]
- Power the command block and it should say your name.
- Click on the command block and remove the "-" so it should now be
_say @p[score_Foobar=44]- Power the command block again and notice how it doesn't say your name this time.
I've found that, with scoreboard objectives, if the objective has a dash ("-") in the name, then the score argument for command blocks won't work to see if anyone has the score.
To reproduce:
- Start a new world and give yourself a command block.
- Type in the command say @p[score_Foo-bar=44]
- Power the command block and it should say your name.
- Click on the command block and remove the "-" so it should now be say @p[score_Foobar=44]
- Power the command block again and notice how it doesn't say your name this time.






@GrygrFlzr does the objective "magic-pie" exist?
If by first screenshot you mean dashcommandoutput.png, see no_objectives_players.png.
The command block shouldn't say anyone has a score because the objective doesn't exist.
I have also edited the description for clarity.