Mojira Archive
MC-73054

Written Book Raw JSON Bug With Cheats Off / Not opped players

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

Duplicate

Caleb Charles Coldiron

2014-10-15, 10:16 PM

2016-11-04, 12:42 AM

2016-10-25, 10:23 PM

23

11

Community Consensus

Minecraft 1.8.1-pre1 - Minecraft 1.10.2Minecraft 1.8.1-pre1, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 1.10.2

-