mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[c12589] Use proper error files for missing string errors
This commit is contained in:
parent
39262d4e6a
commit
58ad20df80
3 changed files with 4 additions and 3 deletions
|
|
@ -7742,9 +7742,9 @@ const char* ObjectMgr::GetMangosString(int32 entry, int locale_idx) const
|
|||
else if (entry > 0)
|
||||
sLog.outErrorDb("Entry %i not found in `mangos_string` table.", entry);
|
||||
else if (entry > MAX_CREATURE_AI_TEXT_STRING_ID)
|
||||
sLog.outErrorDb("Entry %i not found in `creature_ai_texts` table.", entry);
|
||||
sLog.outErrorEventAI("Entry %i not found in `creature_ai_texts` table.", entry);
|
||||
else
|
||||
sLog.outErrorDb("Mangos string entry %i not found in DB.", entry);
|
||||
sLog.outErrorScriptLib("String entry %i not found in Database.", entry);
|
||||
return "<error>";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue