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

Malformed JSON in item names crashes the client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w01a
    • None
    • Windows 10, Minecraft 18w01a, Bundled java runtime
    • Confirmed

      When malformed JSON is used to name an item (pretty sure bold is not correct):
      /give @p diamond_sword{display:{Name:"blah"}}

      The client will crash and the game will close. However, it gives the item correctly.

      If you load the world again, the item is still there and any attempt of hovering over it or selecting it in the hotbar will crash the client again.

      I have attached the crash report.

            Unassigned Unassigned
            Tedstar Tedstar (Curtis Anderson)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: