mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-23 21:46:24 +00:00
[Console] Fix .playerbot bot console message
This commit is contained in:
@@ -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)
|
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;
|
return true;
|
||||||
@@ -748,8 +748,8 @@ std::vector<std::string> PlayerbotHolder::HandlePlayerbotCommand(char const* arg
|
|||||||
|
|
||||||
if (!*args)
|
if (!*args)
|
||||||
{
|
{
|
||||||
messages.push_back("usage: list/reload/tweak/self or add/init/remove PLAYERNAME");
|
messages.push_back("usage: list/reload/tweak/self or add/init/remove PLAYERNAME\n");
|
||||||
messages.push_back(" addclass CLASSNAME");
|
messages.push_back("usage: addclass CLASSNAME");
|
||||||
return messages;
|
return messages;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user