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

Text component using a scoreboard score fails to execute when the score name is a virtual target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w33a
    • None
    • Community Consensus
    • Commands
    • Very Important
    • Platform

      Steps to reproduce:

      1. /scoreboard objectives add 1 dummy
      2. /scoreboard players set 123 1 100
      3. /tellraw @s {"score":{"objective":"1","name":"123"}}

      Observed result:
      It outputs "An unexpected error occurred trying to execute that command". This command worked in older versions.

      Expected result:
      The command executes successfully.

        1. 1.21.1..PNG
          1.21.1..PNG
          10 kB
        2. 1f03b7b48b77b759449a099c92768b91.png
          1f03b7b48b77b759449a099c92768b91.png
          48 kB
        3. 24w33a...PNG
          24w33a...PNG
          25 kB
        4. e6213559e9437c91cd649f7c6ac34a2c.png
          e6213559e9437c91cd649f7c6ac34a2c.png
          3 kB
        5. screenshot-1.png
          screenshot-1.png
          18 kB

            gegy1000 [Mojang] Gegy
            447 447
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: