Skip to content
Permalink
Browse files

Server/Creature: Enhance log output for class level stats with creatu…

…re entry.

Signed-off-by: AriDEV <aridev666@gmail.com>
  • Loading branch information...
AriDEV committed Jun 3, 2019
1 parent 285154b commit c946129f8360757ec01089c37bb1ed37254da079
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/game/Globals/ObjectMgr.cpp
@@ -8531,7 +8531,7 @@ void ObjectMgr::LoadCreatureClassLevelStats()
for (uint16 lvl = itr->second.minlevel; lvl <= itr->second.maxlevel; ++lvl)
{
if (_creatureBaseStatsStore.find(MAKE_PAIR16(lvl, itr->second.unit_class)) == _creatureBaseStatsStore.end())
SF_LOG_ERROR("sql.sql", "Missing base stats for creature class %u level %u", itr->second.unit_class, lvl);
SF_LOG_ERROR("sql.sql", "Missing base stats for creature entry %u, class %u, level %u", itr->second.Entry, itr->second.unit_class, lvl);
}
}

0 comments on commit c946129

Please sign in to comment.
You can’t perform that action at this time.