mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-28 06:25:55 +00:00
fix(Core/Misc): Fix NextPage Data Type in PageText Structure and Improve Logging Messages (#21586)
This commit is contained in:
@@ -5848,7 +5848,11 @@ void ObjectMgr::LoadPageTextLocales()
|
||||
QueryResult result = WorldDatabase.Query("SELECT ID, locale, Text FROM page_text_locale");
|
||||
|
||||
if (!result)
|
||||
{
|
||||
LOG_WARN("server.loading", ">> Loaded 0 page texts. DB table `page_text_locale` is empty!");
|
||||
LOG_INFO("server.loading", " ");
|
||||
return;
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
@@ -5876,7 +5880,7 @@ void ObjectMgr::LoadInstanceTemplate()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
LOG_WARN("server.loading", ">> Loaded 0 instance templates. DB table `page_text` is empty!");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 instance templates. DB table `instance_template` is empty!");
|
||||
LOG_INFO("server.loading", " ");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user