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

New "/tellraw @selector" command does not let you use @selector as name in the json message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w07a
    • None
    • Unconfirmed

      If you use any @selector, and not a player name in the format of the new command:

      /tellraw @p {text:"<text> ",extra:[{score:{name:"<issue is here>",objective:"<objective>"}},{text:"<text>"}]}
      

      then it will result in a "?" instead of a "#" when trying to display the player's (or any selector chosen) score.

      Example:

      Input (sorry for possibly strange format):

      /tellraw @p[score_VaultBars_min=1] {text:"You have withdrawn 1 Iron Bar from your vault, and have ",extra:[{score:{name:"@p",objective:"VaultBars"} },{text:" Iron Bars still currently stored."}]}
      

      Output:
      You have withdrawn 1 Iron Bar from your vault, and have ? Iron Bars still currently stored.

            searge [Mojang] Searge (Michael Stoyke)
            Pittcrew1 Jordan Peterson
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: