Mojira Archive
MC-75886

\n doesn't work when run by "run_command"

Using:

tellraw @p {text:"Line1\nLine2 <-- click",color:green,clickEvent:{action:run_command,value:"/tellraw @p {text:'Line1\nLine2',color:red}"}}

at a command block, I get this message in the chat:

Line1
Line2 <-- click

After clicking on it I get:

Line1 Line2

I think, to use the "\n" in "Line1\nLine2" I should get:

Line1
Line2

Invalid

João Mambelli

2014-12-28, 07:55 PM

2014-12-29, 08:49 PM

2014-12-29, 07:40 PM

1

2

Unconfirmed

Minecraft 1.8.2-pre1

-