mirror of
https://github.com/Minecraft-Community-Edition/client.git
synced 2026-05-25 18:44:52 +00:00
add fixed world saving allegedly
This commit is contained in:
@@ -203,7 +203,7 @@ bool MinecraftServer::initServer(__int64 seed, NetworkGameInitData *initData, DW
|
||||
|
||||
__int64 levelNanoTime = System::nanoTime();
|
||||
|
||||
wstring levelName = settings->getString(L"level-name", L"world");
|
||||
wstring levelName = (initData && !initData->levelName.empty()) ? initData->levelName : settings->getString(L"level-name", L"world");
|
||||
wstring levelTypeString;
|
||||
|
||||
bool gameRuleUseFlatWorld = false;
|
||||
|
||||
Reference in New Issue
Block a user