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

Renamed placed droppers lose their custom name when upgrading from 1.12.2

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w01a
    • Fix Version/s: Minecraft 18w20a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      To reproduce, rename and place a dropper in 1.12.2 and open the world in 18w01a.

      	Failed to load data for block entity minecraft:dropper
      com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
      	at com.google.gson.internal.Streams.parse(Streams.java:60)
      	at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65)
      	at vf.a(SourceFile:493)
      	at vf.a(SourceFile:518)
      	at hn$a.a(SourceFile:241)
      	at bap.b(SourceFile:90)
      	at baj.a(SourceFile:118)
      	at bdm.a(SourceFile:367)
      	at bdm.a(SourceFile:78)
      	at rm.b(SourceFile:85)
      	at rm.c(SourceFile:104)
      	at net.minecraft.server.MinecraftServer.i_(SourceFile:375)
      	at cmd.a(SourceFile:112)
      	at cmd.d(SourceFile:128)
      	at net.minecraft.server.MinecraftServer.run(SourceFile:479)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
      	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559)
      	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401)
      	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:593)
      	at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
      	at com.google.gson.internal.Streams.parse(Streams.java:46)
      	... 15 more
      

        Attachments

          Activity

            People

            • Assignee:
              fry [Mojang] Georgii Gavrichev
              Reporter:
              redstonehelper [Mod] redstonehelper
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: