mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/ObjectMgr: Copy/Paste fail in the recent loading functions cleanup. Thanks to cyberbrest for noticing.
Closes issue 5264 --HG-- branch : trunk
This commit is contained in:
@@ -6956,11 +6956,11 @@ void ObjectMgr::LoadExplorationBaseXP()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
QueryResult result = WorldDatabase.Query("SELECT word,entry,half FROM pet_name_generation");
|
||||
QueryResult result = WorldDatabase.Query("SELECT level, basexp FROM exploration_basexp");
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outErrorDb(">> Loaded 0 pet name parts. DB table `pet_name_generation` is empty.");
|
||||
sLog->outErrorDb(">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
|
||||
sLog->outString();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user