Objective names with "-" in it are considered invalid
I've found that, with scoreboard objectives, if the objective has a dash ("-") in the name, then the score argument for command blocks will treat it as invalid, which also displays MC-9097.
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.
2013-08-07, 04:58 AM
2017-12-30, 12:13 AM
2015-11-25, 05:37 PM
3
4
command, command_block, objective, objectives, scoreboard
Minecraft 1.6.2, Minecraft 1.8.1-pre3
-