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

Sign items with invalid JSON in Text1 tag are used in creative


    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 16w36a
    • Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.10, Minecraft 16w33a
    • Confirmed

      When giving a player on creative mode a sign with the following command
      /give @p sign 10 0 {BlockEntityTag:{Text1:"1"}}
      the sign will act strange. This will only occur when the value for Text1 is invalid JSON.

      Once you have the sign, just place it down and see the number of signs in the stack go down to 1 in the stack, then MC-105982 blocks it.

      Other tags I have tried didn't result in the issue occurring.

      Upon dropping the negative signs, you can't pick them up (as I would expect with the way picking up items is processed)

      Code analysis by marcono1234 can be found in this comment.

            Unassigned Unassigned
            connermckay Conner McKay
            1 Vote for this issue
            3 Start watching this issue