Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-4100

Malformed JSON on item display names crashes the client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • git-Spigot-751edf9-7c0f69e (MC: 1.13-pre7) (Implementing API version 1.13-pre7-R0.1-SNAPSHOT)

      Items with malformed JSON display name:

      /give @p minecraft:melon{"display":{"Name":"test name"}}
      

      Will crash the client on Spigot (on CraftBukkit it shows an exception on the console without crashing).

      Valid JSON works:

      /give @p minecraft:melon{"display":{"Name":"{\"text\":\"test name\"}"}}
      

            Unassigned Unassigned
            goncalomb goncalomb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: