mojira.dev
MC-67037

Bug with /tellraw chat output

In the JSON part of a /tellraw, when a targeted player (via the {selector:""} is not found, it still outputs the message without the player.

Previously when a player was not found, the message was not output into the chat, just like it would with /say.

Attachments

Comments 3

It's works as intended... It's trying to say the player's name, if it can't find it it will print nothing but still make the tellraw which means it will print the rest of it...

It's more flexible this way and you can always test if at least one player/entity exists that matches the criteria and not run the command if none are found.

Oh okay, I totally forgot I could have used /execute…

Just saying that "/say [m=2] sucks!" doesn't output anything, but I think that's intended too. You as a dev probably knew that. I just like pointing out things. And by the way, it makes sense that it doesn't output anything, cause I don't suck. Sorry for the cheesy example. 😉

David Payr

michael

Unconfirmed

Minecraft 14w33a

Retrieved