Merge pull request #2996 from LogicParrot/message2
Add forum link to linkage error message
This commit is contained in:
commit
6504ce0c84
@ -410,6 +410,7 @@ void cRoot::LoadWorlds(cSettingsRepositoryInterface & a_Settings, bool a_IsNewIn
|
||||
a_Settings.AddValue("Worlds", "World", "world_nether");
|
||||
a_Settings.AddValue("Worlds", "World", "world_end");
|
||||
Worlds = a_Settings.GetValues("Worlds"); // Refresh the Worlds list so that the rest of the function works as usual
|
||||
LOG("The server detected an old default config with bad world linkages. This has been autofixed by adding \"world_nether\" and \"world_end\" to settings.ini");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -558,7 +558,7 @@ void cWorld::Start(void)
|
||||
if (!BadWorlds.empty())
|
||||
{
|
||||
const char * WorldName = m_WorldName.c_str();
|
||||
LOGERROR("\n###### ERROR: %s is linked to the following nonexisting world/s:\n%s\n\nPlease edit %s/world.ini and fix this.\n\nNote that the server started enforcing proper world linkages recently. And people with older configs may naturally get this error. If you just want a working default config and don't mind losing this world, delete the folder \"%s\" and the server will receate one for you. Otherwise edit the world.ini file and fix the invalid linkages.\n######\n",
|
||||
LOGERROR("\n###### ERROR: \"%s\" is linked to the following nonexisting world/s:\n%s\n\nPlease edit %s/world.ini and fix this.\n\nNote that the server started enforcing proper world linkages recently. And people with older configs may naturally get this error. If you just want a working default config and don't mind losing this world, delete the folder \"%s\" and the server will receate one for you. Otherwise edit the world.ini file and fix the invalid linkages.\n\nMore help and info:\nhttps://forum.cuberite.org/thread-2366.html\n######\n",
|
||||
WorldName, BadWorlds.c_str(), WorldName, WorldName);
|
||||
cRoot::Get()->StopServer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user