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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.10, Minecraft 16w33a
    • Fix Version/s: Minecraft 16w36a
    • Environment:
    • Confirmation Status:
      Confirmed

      Description

      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 [Helper] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                connermckay Conner McKay
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: