mojira.dev
MC-25174

Scoreboard Objectives with Underscores do not work in command block player select

Scoreboard objectives with underscores in the name do not properly parse in command block player selection clauses.

We're using a scoreboard objective to determine if a user should be near a command block. (anti-griefing). When we name the objective "trusted_user", it does not work in the command block player selection clause. e.g. @p[score_trusted_user=1]

If we change the name to "trusted", it works.

Linked issues

Comments 1

Intended. Underscores are used to determine what about the score you're testing, e.g.:

score_min_trusted
score_max_trusted

Minecraft thinks you are trying to use trusted instead of min or max.

Sam Corl

(Unassigned)

Unconfirmed

redstone

Minecraft 1.6.2

Retrieved