mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +00:00
Fix command .skirmish (#12149)
fix-issue-11966 Co-authored-by: Badanin Roman <r.badanin@etud.univ-pau.fr>
This commit is contained in:
@@ -143,9 +143,9 @@ public:
|
|||||||
return commandTable;
|
return commandTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool HandleSkirmishCommand(ChatHandler* handler, std::string_view args)
|
static bool HandleSkirmishCommand(ChatHandler* handler, std::vector<std::string_view> args)
|
||||||
{
|
{
|
||||||
auto tokens = Acore::Tokenize(args, ' ', true);
|
auto tokens = args;
|
||||||
|
|
||||||
if (args.empty() || !tokens.size())
|
if (args.empty() || !tokens.size())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user