Mojira Archive
MC-62150

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

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!"

Works As Intended

Ham Sammich

[Mojang] Searge (Michael Stoyke)

2014-07-16, 08:08 PM

2014-07-21, 12:55 PM

2014-07-17, 08:48 PM

2

2

Unconfirmed

Minecraft 14w29a, Minecraft 14w29b

-