Core/World: do not consider error when no player data in the DB (#1151)

This commit is contained in:
Francesco Borzì
2018-12-30 18:36:07 +01:00
committed by Barbz
parent 9591fa9d4e
commit 2c539c07ae
+1 -2
View File
@@ -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;
} }