Core/ObjectMgr: Improved error message to include source of the error
SQL: Renamed files to match standards
This commit is contained in:
1 parent
83e0486e59
commit
01aeccb8d7
3 files changed
+1
-1
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -8683,7 +8683,7 @@ void ObjectMgr::CheckScripts(ScriptsType type, std::set<int32>& ids)
|
||||
case SCRIPT_COMMAND_TALK:
|
||||
{
|
||||
if (!GetTrinityStringLocale (itrM->second.Talk.TextID))
|
||||
sLog->outErrorDb("Table `db_script_string` not has string id %u used db script (ID: %u)", itrM->second.Talk.TextID, itrMM->first);
|
||||
sLog->outErrorDb("Table `%s` references invalid text id %u from `db_script_string`, script id: %u.", GetScriptsTableNameByType(type).c_str(), itrM->second.Talk.TextID, itrMM->first);
|
||||
|
||||
if (ids.find(itrM->second.Talk.TextID) != ids.end())
|
||||
ids.erase(itrM->second.Talk.TextID);
|
||||
|
||||
Reference in new issue
Block a user