mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
cleanup
This commit is contained in:
parent
fbe992755e
commit
2972b0ee85
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
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) {
|
wfile->getRegions().processInventories(x, z, [=](Inventory* inventory) {
|
||||||
inventory->convert(report.get());
|
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 {
|
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,
|
wfile->getRegions().processBlocksData(x, z,
|
||||||
[=](BlocksMetadata* heap, std::unique_ptr<ubyte[]> voxelsData) {
|
[=](BlocksMetadata* heap, std::unique_ptr<ubyte[]> voxelsData) {
|
||||||
Chunk chunk(0, 0);
|
Chunk chunk(0, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue