version set to 0.18 + WorldGenerator indents fix

This commit is contained in:
MihailRis
2024-01-15 13:08:31 +03:00
parent cec8d75b7d
commit 1e12f80dd6
6 changed files with 190 additions and 216 deletions
-3
View File
@@ -56,9 +56,6 @@ void WorldConverter::convertNext() {
std::unique_ptr<ubyte[]> data (wfile->getChunk(gx, gz));
if (data == nullptr)
continue;
if (wfile->getVoxelRegionVersion(x, z) != REGION_FORMAT_VERSION) {
Chunk::fromOld(data.get());
}
if (lut) {
Chunk::convert(data.get(), lut.get());
}