mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[6870] Not output error message at loading empty db_script_string table.
This commit is contained in:
parent
af6a55bcb5
commit
d6b8b1fa13
2 changed files with 3 additions and 3 deletions
|
|
@ -6320,7 +6320,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min
|
|||
bar.step();
|
||||
|
||||
sLog.outString("");
|
||||
if(min_value > 0) // error only in case internal strings
|
||||
if(min_value == MIN_MANGOS_STRING_ID) // error only in case internal strings
|
||||
sLog.outErrorDb(">> Loaded 0 mangos strings. DB table `%s` is empty. Cannot continue.",table);
|
||||
else
|
||||
sLog.outString(">> Loaded 0 string templates. DB table `%s` is empty.",table);
|
||||
|
|
@ -6386,7 +6386,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min
|
|||
delete result;
|
||||
|
||||
sLog.outString();
|
||||
if(min_value > 0) // internal mangos strings
|
||||
if(min_value == MIN_MANGOS_STRING_ID) // error only in case internal strings
|
||||
sLog.outString( ">> Loaded %u MaNGOS strings from table %s", count,table);
|
||||
else
|
||||
sLog.outString( ">> Loaded %u string templates from %s", count,table);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue