Selector text components in JSON are not resolved correctly in written books for non-ops
Written books resolves the JSON text when being opened by the player. If an op opens the book, selector components resolve correctly. However when a regular player opens the book, it causes an exception which causes the literal JSON to be displayed in the book instead.
Steps to reproduce:
Execute the following command
/give @a minecraft:written_book{title:"Example",author:"someone",pages:["{\"selector\":\"@s\"}"]}
If a op opened the book, it would display their name as the contents. However if a regular player opens it they will see {"selector":"@s"} instead.
2018-07-30, 10:01 AM
2018-07-30, 08:22 PM
2018-07-30, 08:22 PM
0
0
-