aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-04-05 15:43:07 +0200
committerKillyana <morphone1@gmail.com>2019-04-05 15:43:07 +0200
commit97edfcb3675b32bf5360906d5b97d216540c5cf3 (patch)
treedbc37b2e6e371d1cad1c93d4fbbb2194d2db5cfc /src
parentd2906836e02f8129d380d57e87f09fe607755a4b (diff)
Core/Trainers: Fix DB error log
Closes #23167
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}