Score tag in books doesn't work with cheats off/ as non-op
The bug
The score-tag in a book does not work, if you /give it to someone who is not an operator or, in a singleplayer world, if cheats are disabled. Video demonstrating the issue: http://youtu.be/QTfumET7Apo
How to reproduce
- Start a world with cheats off
- Open the world in LAN and and set 'allow cheats' to ON
- /give yourself a command block and insert the command below
- Reopen your world
- Activate the command block. You should now get a book that shows the JSON-text instead of the score.
Alternatively, you can test it on a server if you deop yourself after you entered the following command
/give @a written_book{
title:"Test",
author:"Test",
pages:
[
"{
\"text\":\"\",
\"bold\":true,
\"extra\":
[
{
\"score\":
{
\"name\":\"@p\",
\"objective\":\"Test\"
}
}
]
}"
]
}
2014-07-27, 06:30 PM
2023-10-27, 09:55 AM
72
36
Minecraft 14w30c - 1.19
Minecraft 14w30c, Minecraft 1.8, Minecraft 15w43a, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b, Minecraft 1.13-pre6, Minecraft 1.13.1, Minecraft 19w08b, Minecraft 1.14, Minecraft 1.14.3, 1.14.4, 1.15, 1.15.2, 20w07a, 1.16.3, 1.19
-