This commit is contained in:
MihailRis 2026-08-22 21:15:41 +03:00
parent fbe992755e
commit 2972b0ee85

View file

@ -198,7 +198,7 @@ void WorldConverter::convertVoxels(const io::path& file, int x, int z) const {
}
void WorldConverter::convertInventories(const io::path& file, int x, int z) const {
logger.info() << "converting inventories region " << x << "_" << z;
logger.info() << "converting inventories in region " << x << "_" << z;
wfile->getRegions().processInventories(x, z, [=](Inventory* inventory) {
inventory->convert(report.get());
});
@ -212,7 +212,7 @@ void WorldConverter::convertPlayer(const io::path& file) const {
}
void WorldConverter::convertBlocksData(int x, int z, const ContentReport& report) const {
logger.info() << "converting blocks data in region " << x << ", " << z;
logger.info() << "converting blocks data in region " << x << "_" << z;
wfile->getRegions().processBlocksData(x, z,
[=](BlocksMetadata* heap, std::unique_ptr<ubyte[]> voxelsData) {
Chunk chunk(0, 0);