mircokroon / minecraft-world-downloader

Download Minecraft worlds, extend server's render distance. 1.12.2 - 1.21
GNU General Public License v3.0
1.25k stars 83 forks source link

chunk sections not downloading for 1.12.2 server #693

Open KanesConners opened 3 months ago

KanesConners commented 3 months ago

Describe the bug Short description of what the bug is.

Steps to reproduce trying to download a section of darwin reforged server that uses conquest reforged mod pack

Log output java.lang.ArrayIndexOutOfBoundsException: Index -2 out of bounds for length 1873 at game.data.chunk.version.encoder.BlockLocationEncoder.fetch(BlockLocationEncoder.java:20) at game.data.chunk.ChunkSection.getPaletteIndex(ChunkSection.java:128) at game.data.chunk.ChunkSection.getPaletteIndex(ChunkSection.java:120) at game.data.chunk.version.ChunkSection_1_12.setBlocks(ChunkSection_1_12.java:55) at game.data.chunk.Chunk.readChunkColumn(Chunk.java:170) at game.data.chunk.Chunk.parse(Chunk.java:304) at game.data.chunk.ChunkFactory.parseChunk(ChunkFactory.java:127) at game.data.chunk.ChunkFactory.readChunkDataPacket(ChunkFactory.java:144) at game.data.chunk.ChunkFactory.parse(ChunkFactory.java:104) at game.data.chunk.ChunkFactory.lambda$addChunk$9(ChunkFactory.java:91) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Chunk could not be parsed! java.lang.ArrayIndexOutOfBoundsException: Index -2 out of bounds for length 64 at game.data.chunk.version.encoder.BlockLocationEncoder.fetch(BlockLocationEncoder.java:20) at game.data.chunk.ChunkSection.getPaletteIndex(ChunkSection.java:128) at game.data.chunk.ChunkSection.getPaletteIndex(ChunkSection.java:120) at game.data.chunk.version.ChunkSection_1_12.setBlocks(ChunkSection_1_12.java:55) at game.data.chunk.Chunk.readChunkColumn(Chunk.java:170) at game.data.chunk.Chunk.parse(Chunk.java:304) at game.data.chunk.ChunkFactory.parseChunk(ChunkFactory.java:127) at game.data.chunk.ChunkFactory.readChunkDataPacket(ChunkFactory.java:144) at game.data.chunk.ChunkFactory.parse(ChunkFactory.java:104) at game.data.chunk.ChunkFactory.lambda$addChunk$9(ChunkFactory.java:91) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583) Chunk could not be parsed! java.lang.ArrayIndexOutOfBoundsException Chunk could not be parsed!

java.lang.ArrayIndexOutOfBoundsException Chunk could not be parsed! java.lang.ArrayIndexOutOfBoundsException Chunk could not be parsed!

java.lang.ArrayIndexOutOfBoundsException Chunk could not be parsed!

java.lang.ArrayIndexOutOfBoundsException Chunk could not be parsed!

Version