From a70600c4ae1bd9462f6153d2303f5faba55b762e Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 18 Jan 2025 21:18:29 -0300 Subject: [PATCH] chore(Core/Globals): Fix error displayed when acore string is not found --- 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 423db19e13f266..e7cdc17029915c 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -8746,7 +8746,7 @@ char const* ObjectMgr::GetAcoreString(uint32 entry, LocaleConstant locale) const LOG_ERROR("sql.sql", "Acore string entry {} not found in DB.", entry); - return ""; + return Acore::StringFormat("Acore string entry {} not found in DB.", entry).c_str(); } void ObjectMgr::LoadFishingBaseSkillLevel()