AntiqueAtlasTeam / AntiqueAtlas

A Minecraft mod that adds a fancy interactive map item.
http://www.minecraftforum.net/topic/2045745-164forge-antique-atlas
Other
256 stars 77 forks source link

ClassCastException for markers #379

Closed tyra314 closed 3 years ago

tyra314 commented 3 years ago

Something happens to markers:

[20:00:36] [Server thread/ERROR]: Error loading saved data: aAtlasGlobalMarkers
java.lang.ClassCastException: class hunternif.mc.impl.atlas.marker.MarkersData cannot be cast to class hunternif.mc.impl.atlas.marker.GlobalMarkersData (hunternif.mc.impl.atlas.marker.MarkersData and hunternif.mc.impl.atlas.marker.GlobalMarkersData are in unnamed module of loader net.fabricmc.loader.launch.knot.KnotClassLoader @1603cd68)
    at hunternif.mc.impl.atlas.marker.GlobalMarkersData.readNbt(GlobalMarkersData.java:23) ~[antiqueatlas-6.0.0-fabric-mc1.17.1.jar:?]
    at net.minecraft.class_26.method_120(class_26.java:72) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.class_26.method_20786(class_26.java:59) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.class_26.method_17924(class_26.java:43) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at hunternif.mc.impl.atlas.marker.GlobalMarkersDataHandler.onWorldLoad(GlobalMarkersDataHandler.java:27) ~[antiqueatlas-6.0.0-fabric-mc1.17.1.jar:?]
    at net.fabricmc.fabric.api.event.lifecycle.v1.ServerWorldEvents.lambda$static$0(ServerWorldEvents.java:34) ~[43fedda6-5d33-4bee-b09e-225e146149e6.jar:?]
    at net.minecraft.server.MinecraftServer.redirect$cbi000$onLoadWorld(MinecraftServer.java:5837) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:388) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:354) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.class_1132.method_3823(class_1132.java:71) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:665) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:274) ~[intermediary-fabric-loader-0.11.6-1.17.jar:?]
    at java.lang.Thread.run(Thread.java:831) [?:?]