Skip to content

Commit

Permalink
Spell: Fix spell_script_target misleading errors
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Sep 27, 2023
1 parent 28dd1eb commit cae1f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/Spells/SpellMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ void SpellMgr::LoadSpellScriptTarget()

if (!sObjectMgr.GetGOData(itr->targetEntry))
{
sLog.outErrorDb("Table `spell_script_target`: gameobject entry %u does not exist.", itr->targetEntry);
sLog.outErrorDb("Table `spell_script_target`: gameobject guid %u does not exist.", itr->targetEntry);
sSpellScriptTargetStorage.EraseEntry(itr->spellId);
}
break;
Expand All @@ -2246,7 +2246,7 @@ void SpellMgr::LoadSpellScriptTarget()
{
if (!sObjectMgr.GetCreatureData(itr->targetEntry))
{
sLog.outErrorDb("Table `spell_script_target`: creature entry %u does not exist.", itr->targetEntry);
sLog.outErrorDb("Table `spell_script_target`: creature guid %u does not exist.", itr->targetEntry);
sSpellScriptTargetStorage.EraseEntry(itr->spellId);
}
break;
Expand Down

0 comments on commit cae1f22

Please sign in to comment.