diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/region/MCARegion.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/region/MCARegion.java index 72be917e..202ea0d1 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/region/MCARegion.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/region/MCARegion.java @@ -87,7 +87,9 @@ public Chunk loadChunk(int chunkX, int chunkZ, boolean ignoreMissingLightData) t raf.seek(offset + 4); // +4 skip chunk size byte compressionTypeByte = raf.readByte(); - CompressionType compressionType = CompressionType.getFromID(compressionTypeByte); + CompressionType compressionType = compressionTypeByte == 3 ? + CompressionType.NONE : + CompressionType.getFromID(compressionTypeByte); if (compressionType == null) { throw new IOException("Invalid compression type " + compressionTypeByte); }