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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      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\"
      					}
      				}
      			]
      		}"
      	]
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Schortan [Helper] NeunEinser
              • Votes:
                27 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: