Using target in book gived to player brokes content
Command:
/give @p written_book 1 0 {
title:"Test",
pages:[
"{
text:\"your gold: \",
extra:[
{
score:
}
]
}"
]
}
When command in command_block is executed as OP, book looks like this:
your gold: 125
But when is executed by player (pushing button) books looks like this:
{
text:"your gold:",
extra:[
{
score:{name:{"@p",objective:"P_Gold"}}]}
Steps to Reproduce:
1. place cmd_block
2. enter command: /give @p written_book 1 0 {
title:"Test",
pages:[
"{
text:\"your gold: \",
extra:[
{
score:
}
]
}"
]
}
3. activate cmd_block
4. /deop yourself
5. activeate cmd_block again
... same problem causes using of parametr
extra:[
]
2014-11-08, 01:27 PM
2016-11-04, 12:41 AM
2014-11-09, 12:17 AM
0
1
-