mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-07 18:41:39 +01:00
Core/ChatCommands: Add trinity_string support for chat command help
This commit is contained in:
@@ -1622,7 +1622,7 @@ Trinity::ChatCommands::ChatCommandTable ScriptMgr::GetChatCommands()
|
||||
{
|
||||
Trinity::ChatCommands::ChatCommandTable table;
|
||||
|
||||
FOR_SCRIPTS_RET(CommandScript, itr, end, table)
|
||||
FOR_SCRIPTS(CommandScript, itr, end)
|
||||
{
|
||||
Trinity::ChatCommands::ChatCommandTable cmds = itr->second->GetCommands();
|
||||
std::move(cmds.begin(), cmds.end(), std::back_inserter(table));
|
||||
|
||||
Reference in New Issue
Block a user