Minestom / Hephaistos

NBT & Anvil save format library
MIT License
57 stars 10 forks source link

Missing field named 'sections' (or of wrong type) #37

Open para-dise opened 7 months ago

para-dise commented 7 months ago

Hephaistos seems to throw Missing field named 'sections' (or of wrong type)

org.jglrxavpok.hephaistos.mca.AnvilException: Missing field named 'sections' (or of wrong type)
        at org.jglrxavpok.hephaistos.mca.AnvilException$Companion.missing(AnvilException.kt:15)
        at org.jglrxavpok.hephaistos.mca.readers.ChunkReader.getSections(ChunkReader.kt:57)
        at org.jglrxavpok.hephaistos.mca.readers.ChunkReader.getYRange(ChunkReader.kt:85)
        at net.minestom.server.instance.AnvilLoader.loadMCA(AnvilLoader.java:105)
        at net.minestom.server.instance.AnvilLoader.loadChunk(AnvilLoader.java:86)
        at net.minestom.server.instance.InstanceContainer.lambda$retrieveChunk$6(InstanceContainer.java:294)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Whenever an ItemEntity from Minestom is spawned in my world for the first time. Here's the world for reference: san_andreas.zip

The world is correctly loaded in vanilla and has also been upgraded using the Minecraft builtin tools, but Hephaistos still seems to error.