diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/Chunk.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/Chunk.java index b3aa68ce..81c9e22d 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/Chunk.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/Chunk.java @@ -84,9 +84,9 @@ public int getDataVersion() { public static Chunk create(MCAWorld world, CompoundTag chunkTag, boolean ignoreMissingLightData) throws IOException { int version = chunkTag.getInt("DataVersion"); - if (version <= 1343) return new ChunkAnvil112(world, chunkTag, ignoreMissingLightData); - if (version <= 1976) return new ChunkAnvil113(world, chunkTag, ignoreMissingLightData); - if (version < 2534) return new ChunkAnvil115(world, chunkTag, ignoreMissingLightData); + if (version < 1400) return new ChunkAnvil112(world, chunkTag, ignoreMissingLightData); + if (version < 2200) return new ChunkAnvil113(world, chunkTag, ignoreMissingLightData); + if (version < 2500) return new ChunkAnvil115(world, chunkTag, ignoreMissingLightData); return new ChunkAnvil116(world, chunkTag, ignoreMissingLightData); }