chore(Core): Code Reduction dealing with Logging, (Cosmetic only). (#8686)

This commit is contained in:
acidmanifesto
2021-10-24 21:33:16 -04:00
committed by GitHub
parent 0247db86d0
commit 0df821cbb0
14 changed files with 80 additions and 80 deletions

View File

@@ -5319,7 +5319,7 @@ void ObjectMgr::ValidateSpellScripts()
bool valid = true;
if (!spellScript && !auraScript)
{
LOG_ERROR("sql.sql", "TSCR: Functions GetSpellScript() and GetAuraScript() of script `%s` do not return objects - script skipped", GetScriptName(sitr->second->second).c_str());
LOG_ERROR("sql.sql", "Functions GetSpellScript() and GetAuraScript() of script `%s` do not return objects - script skipped", GetScriptName(sitr->second->second).c_str());
valid = false;
}
if (spellScript)