mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Console] Fix .playerbot bot console message
This commit is contained in:
parent
bc784b2b94
commit
9830992000
@ -736,7 +736,7 @@ bool PlayerbotMgr::HandlePlayerbotMgrCommand(ChatHandler* handler, char const* a
|
||||
|
||||
for (std::vector<std::string>::iterator i = messages.begin(); i != messages.end(); ++i)
|
||||
{
|
||||
handler->PSendSysMessage("%s", i->c_str());
|
||||
handler->PSendSysMessage("{}", i->c_str());
|
||||
}
|
||||
|
||||
return true;
|
||||
@ -748,8 +748,8 @@ std::vector<std::string> PlayerbotHolder::HandlePlayerbotCommand(char const* arg
|
||||
|
||||
if (!*args)
|
||||
{
|
||||
messages.push_back("usage: list/reload/tweak/self or add/init/remove PLAYERNAME");
|
||||
messages.push_back(" addclass CLASSNAME");
|
||||
messages.push_back("usage: list/reload/tweak/self or add/init/remove PLAYERNAME\n");
|
||||
messages.push_back("usage: addclass CLASSNAME");
|
||||
return messages;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user