mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
add more new world info to logger messages
This commit is contained in:
parent
b108c4710d
commit
eb400e68ca
1 changed files with 5 additions and 1 deletions
|
|
@ -114,7 +114,11 @@ std::unique_ptr<Level> World::load(
|
||||||
if (!info.has_value()) {
|
if (!info.has_value()) {
|
||||||
throw world_load_error("could not to find world.json");
|
throw world_load_error("could not to find world.json");
|
||||||
}
|
}
|
||||||
logger.info() << "world version: " << info->major << "." << info->minor;
|
logger.info() << "loading world " << info->name << " ("
|
||||||
|
<< worldFilesPtr->getFolder().u8string() << ")";
|
||||||
|
logger.info() << "world version: " << info->major << "." << info->minor
|
||||||
|
<< " seed: " << info->seed
|
||||||
|
<< " generator: " << info->generator;
|
||||||
|
|
||||||
auto world = std::make_unique<World>(
|
auto world = std::make_unique<World>(
|
||||||
info.value(),
|
info.value(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue