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

Display Name NBT Crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 18w01a
    • Fix Version/s: None
    • Labels:
    • Environment:

      Windows 10 x64 Java 1.8.0_144

    • Confirmation Status:
      Unconfirmed

      Description

      The bug

      When you give yourself an item with the display tag with custom name, such as
      /give @s minecraft:pumpkin{display:{Name:"ItemName"}}
      the game crashes instantly and on the crash report the following error appears:

      Description: Unexpected error

      com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path

      Also, the world gets corrupted and it crashes when you try to play it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: