Core/World: do not consider error when no player data in the DB (#1151)
This commit is contained in:
@@ -3210,8 +3210,7 @@ void World::LoadGlobalPlayerDataStore()
|
|||||||
QueryResult result = CharacterDatabase.Query("SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL");
|
QueryResult result = CharacterDatabase.Query("SELECT guid, account, name, gender, race, class, level FROM characters WHERE deleteDate IS NULL");
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
sLog->outString();
|
sLog->outString(">> Loaded 0 Players data.");
|
||||||
sLog->outErrorDb(">> Loaded 0 Players data!");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user