XMLWordPrintable

    • Confirmed
    • Datafixer
    • Very Important

      Bug

      Maps generated in 18w31a and below reset upon updating to the latest snapshot. A new map zoomed out to the maximum based on the current location is shown.
      The correct .dat files for the map are still in the game folder.

      Analysis by BillyThePie:

      The affected snapshots are able to handle maps where 'dimension' is an integer tag. The issue only seems to occur with byte tags, which is how it was stored prior to 18w31a.

      How to reproduce

      1. Create a world (tested with 1.13)
      2. Make a few maps
      3. Update it to 20w22a
      4.  The maps don't show the original, but are reset and zoomed out

      Logs

      The logs have many entries like the following that seem to be related to the problem

      (20w22a) Error: "Not a string"
      [13:29:13] [Server thread/ERROR]: Not a string
      [13:29:13] [Server thread/ERROR]: Error loading saved data: map_7
      java.lang.IllegalArgumentException: Invalid map dimension: 0b
      	at czd.c(SourceFile:127) ~[20w22a.jar:?]
      	at czd$$Lambda$4342/903822550.get(Unknown Source) ~[?:?]
      	at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_51]
      	at czd.a(SourceFile:127) ~[20w22a.jar:?]
      	at czi.c(SourceFile:72) [20w22a.jar:?]
      	at czi.b(SourceFile:58) [20w22a.jar:?]
      	at yz.a(SourceFile:1167) [20w22a.jar:?]
      	at bkc.a(SourceFile:58) [20w22a.jar:?]
      	at bkc.b(SourceFile:63) [20w22a.jar:?]
      	at yy.a(SourceFile:94) [20w22a.jar:?]
      	at yl.g(SourceFile:1070) [20w22a.jar:?]
      	at yx.p(SourceFile:398) [20w22a.jar:?]
      	at yx.a(SourceFile:337) [20w22a.jar:?]
      	at yz.a(SourceFile:348) [20w22a.jar:?]
      	at net.minecraft.server.MinecraftServer.b(SourceFile:860) [20w22a.jar:?]
      	at net.minecraft.server.MinecraftServer.a(SourceFile:799) [20w22a.jar:?]
      	at eoh.a(SourceFile:92) [20w22a.jar:?]
      	at net.minecraft.server.MinecraftServer.run(SourceFile:658) [20w22a.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
      

       

        1. map_0.dat
          5 kB
          Wyatt Jackson
        2. 20w21a 2.png
          581 kB
          Joseph
        3. 20w21a 1.png
          578 kB
          Joseph
        4. 20w20b 2.png
          524 kB
          Joseph
        5. 20w20b 1.png
          549 kB
          Joseph
        6. 2020-05-24_09.51.54.png
          1.06 MB
          Wyatt Jackson

            boq [Mojang] Bartosz Bok
            SomeRandomUser Joseph
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: