fix(Core/Chat): fix crash when using GetModuleString() from console (#25896)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -895,6 +895,11 @@ std::string CliHandler::GetAcoreString(uint32 entry) const
|
||||
return sObjectMgr->GetAcoreStringForDBCLocale(entry);
|
||||
}
|
||||
|
||||
std::string const* CliHandler::GetModuleString(std::string module, uint32 id) const
|
||||
{
|
||||
return sObjectMgr->GetModuleString(module, id, LocaleConstant(sObjectMgr->GetDBCLocaleIndex()));
|
||||
}
|
||||
|
||||
void CliHandler::SendSysMessage(std::string_view str, bool /*escapeCharacters*/)
|
||||
{
|
||||
m_print(m_callbackArg, str);
|
||||
|
||||
Reference in New Issue
Block a user