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

Selectors in written books require player to be operator to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.14.2 Pre-Release 2, 1.14.4, 1.15.2, 1.16.3, 1.16.5, 1.19
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      The bug

      Usage of selectors in books don't work, unless the player being given the book is an operator. Basically, let's say you have such a command:

      /give @a minecraft:written_book{title:"Example",author:"someone",pages:["{\"selector\":\"@s\"}"]}
      

      When the command block is powered, a player who is an operator will receive a book, which on its first page will have their IGN printed. A player who is NOT an operator will receive a book with an empty first page.

            Unassigned Unassigned
            PiyoPwincess Piyotato
            Votes:
            48 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              CHK: