diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 2668f3fc5c9..486c1712d35 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -8894,7 +8894,7 @@ void ObjectMgr::LoadTrainers() if (spell.ReqSkillLine && !sSkillLineStore.LookupEntry(spell.ReqSkillLine)) { TC_LOG_ERROR("sql.sql", "Table `trainer_spell` references non-existing skill (ReqSkillLine: %u) for TrainerId %u and SpellId %u, ignoring", - spell.ReqSkillLine, spell.SpellId, trainerId); + spell.ReqSkillLine, trainerId, spell.SpellId); continue; }