Mojira Archive
MC-101544

Scoreboard Command With @e[c=x] Selector Always Selects Players First

When using a selector in scoreboard commands, if the selector uses the c= selector, it will select from players first before entities.

Test 1 - Execute scoreboard:

1. Create Obj objective
2. Place an armor stand somewhere
3. /execute @e[type=!Player,c=1] ~ ~ ~ /scoreboard players set @e[c=1] Obj 1
4. This should set the armor stand's Obj score to 1, but instead sets the player's score

Test 2 - Command block:

1. Create Obj objective
2. Place a command block and an armor stand next to it
3. Put command in block: /scoreboard players set @e[c=1] Obj 1
4. Stand further from the command block than the armor stand and power the command block
5. The player gets the score instead of the armor stand

Duplicate

Onnowhere

2016-05-03, 07:59 AM

2016-05-04, 01:27 AM

2016-05-03, 10:17 AM

1

2

Unconfirmed

Minecraft 1.9.3 Pre-Release 2

-