Core/Trainers: Fix DB error log

Closes #23167
This commit is contained in:
Killyana
2019-04-05 15:43:07 +02:00
parent d2906836e0
commit 97edfcb367

View File

@@ -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;
}