Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-101544

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.9.3 Pre-Release 2
    • None
    • Unconfirmed

      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

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: