Written Book Raw JSON Bug With Cheats Off
I expected this command:
give @p written_book 1 0 {title:"Stats",author:"Architect",pages:["{\"text\":\"Times Won: \",\"color\":\"dark_green\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Wins\"}},{\"text\":\" Times Lost: \",\"color\":\"red\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Losses\"}}]}]}"]}
to display the holder's scores for Wins and Losses, without Cheats being enabled.
However, when I hold this book it displays this text:"{text:'Times Won: ',color:'dark_green',extra:[{score:{name:'@p',objective:'Wins'}},{text:' Times Lost: ',color:'red',extra:[{score:{name:'@p',objective:'Losses'}}]}]}", this only occurs when Cheats are off, when Cheats are on, it does exactly what it should.
Steps to Reproduce:
1.Start a Creative World With Cheats
2.Give Yourself a Written Book With Any Form of Raw JSON Coding.
3.Edit The World to Disable Cheats
4.The Book Will Fail to Execute The Coding, Displaying The Code Itself In It's Place
Linked issues
Attachments
Comments 8
Comfirmed for 1.9
Updated give commad :
give @p written_book 1 0 {title:"Stats",author:"Architect",pages:["{\"text\":\"Times Won: \",\"color\":\"dark_green\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Wins\"}},{\"text\":\" Times Lost: \",\"color\":\"red\",\"extra\":[{\"score\":{\"name\":\"@p\",\"objective\":\"Losses\"}}]}]}"]}
Dupe of MC-63988
Shouldn't the "is duplicated by" and "is related to" links be moved to MC-63988 as well, then?
Might be related to MC-72530.