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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11a
    • Windows 8.1, Java V7.51 (64-Bit)
    • Unconfirmed

      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.

            searge [Mojang] Searge (Michael Stoyke)
            jayr__ Jannik R.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: