Malformed JSON on item display names crashes the client

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 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\"}"}}
      

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

              Created:
              Updated:
              Resolved: