Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-63988

Score tag in books doesn't work with cheats off/ as non-op

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 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
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      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

      1. Start a world with cheats off
      2. Open the world in LAN and and set 'allow cheats' to ON
      3. /give yourself a command block and insert the command below
      4. Reopen your world
      5. 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\"
      					}
      				}
      			]
      		}"
      	]
      }
      

            Unassigned Unassigned
            Schortan [Mod] NeunEinser
            Votes:
            72 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              CHK: