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

JSON signs with scoreboard objectives erase their block data upon chunk load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1
    • None
    • Confirmed

      Basically the title. If a JSON sign has a scoreboard objective tag on it, all of its block data will be erased upon world load.

      Steps to reproduce:

      1. Create a new world
      2. run the following commands:

      /scoreboard objectives add hi dummy
      /scoreboard players set @p hi 100
      

      3. place a sign down
      4. change the block data of the sign with the following command :

      /blockdata x y z {Text1:"[\"\",{\"text\":\"hi\"}]",Text2:"[\"\",{\"score\":{\"name\":\"@p\",\"objective\":\"hi\"}}]"}
      

      5. log out of the world
      6. log back in

      The sign's block data should be gone now.

      Code analysis: https://bugs.mojang.com/browse/MC-98224?focusedCommentId=293008&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-293008

            searge [Mojang] Searge (Michael Stoyke)
            elyg Ely G
            Votes:
            26 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: