1
0
Fork 0

Merge pull request #2995 from LogicParrot/message

Improve world linkage error message
This commit is contained in:
LogicParrot 2016-02-09 00:43:54 +02:00
commit ce11880a98
1 changed files with 2 additions and 2 deletions

View File

@ -558,8 +558,8 @@ void cWorld::Start(void)
if (!BadWorlds.empty())
{
const char * WorldName = m_WorldName.c_str();
LOGERROR("\n######\nERROR: %s is linked to one or more invalid worlds: %s\nPlease edit %s/world.ini and fix this.\n######\n",
WorldName, BadWorlds.c_str(), WorldName);
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",
WorldName, BadWorlds.c_str(), WorldName, WorldName);
cRoot::Get()->StopServer();
}