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

Tellraw still executes even if it contains a selector for a player that can't be found.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w29a, Minecraft 14w29b
    • None
    • Unconfirmed

      When running /tellraw in a command block, if the json contains a player selector that can't be found, the command runs anyways. This is much easier to explain with a command.

      How to Reproduce:

      1) Place a command block with a button on it.
      2) Enter "/tellraw @a {text:'',extra:['Welcome ',

      {selector:'@p[r=1]'}

      ,' to the server!']}
      3) Stand on the command block, and press the button. It says "Welcome, <playername> to the server!"
      4) Stand away from the block, and press it again. It says "Welcome, to the server!"

            searge [Mojang] Searge (Michael Stoyke)
            McSammich Ham Sammich
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: