Skip to content

Commit

Permalink
chore(Core/Globals): Fix error displayed when acore string is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah committed Jan 19, 2025
1 parent 9056658 commit a70600c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Globals/ObjectMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<error>";
return Acore::StringFormat("Acore string entry {} not found in DB.", entry).c_str();
}

void ObjectMgr::LoadFishingBaseSkillLevel()
Expand Down

0 comments on commit a70600c

Please sign in to comment.