From 1f93f0c9d62d40ddecdfc41a71c75d659dcce044 Mon Sep 17 00:00:00 2001 From: "Bogir[rus]" Date: Mon, 24 Jan 2022 20:55:33 +0500 Subject: [PATCH] fix(Core/Logs): fixed wrong decription of error during server startup The Logger was pointing to the wrong table. Text is missing not in broadcast_text_locale, but in broadcast_text. --- src/server/game/Globals/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 41b7e31cd..796d297a3 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -9119,7 +9119,7 @@ void ObjectMgr::LoadBroadcastTextLocales() BroadcastTextContainer::iterator bct = _broadcastTextStore.find(id); if (bct == _broadcastTextStore.end()) { - LOG_ERROR("sql.sql", "BroadcastText (Id: %u) in table `broadcast_text_locale` does not exist. Skipped!", id); + LOG_ERROR("sql.sql", "BroadcastText (Id: %u) found in table `broadcast_text_locale` but does not exist in `broadcast_text`. Skipped!", id); continue; }