Mojira Archive
MC-50405

Checking for @a[score_x=0] fails after objective init

If a scoreboard objective (dummy) was added before 14w10a the initial score was zero.
Commands with identifiers like @a[score_test=0] don't work anymore before explicitly setting the score to 0.
In 14w08a this was working fine.

Way to reproduce:
1. /scoreboard objectives add test dummy
2. /tp @a[score_test=0] ~ ~10 ~ -> Nothing happens
3. /scoreboard players set <name> test 0
repeat step 2. -> Player gets teleported

In previous versions the player gets teleported before doing step 3.

Works As Intended

Jannik R.

[Mojang] Searge (Michael Stoyke)

2014-03-07, 04:44 AM

2015-09-07, 05:52 AM

2014-03-13, 06:22 PM

0

2

Unconfirmed

command, initial, score, scoreboard, selector, zero

Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11a

-