NBT setblock with command_block data
Since the new NBT data was changed I could use:
setblock ~ ~1 ~ command_block 0 replace {Command:"/say hi"}
But not when using it in a sign like this:
setblock ~ ~1 ~ standing_sign 12 replace {"Text1":"[{\"text\":\"test\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~1 ~ command_block 0 replace {Command:"/say hi"}\"}}]"}
It will see that there is a " and stop the command. Changing it to \" does not change this.
And I can't think of any fix for it. Someone else having problems with this?
2017-04-29, 09:25 PM
2017-06-25, 03:51 PM
2017-06-25, 03:51 PM
0
0
-