Fix command .skirmish (#12149)

fix-issue-11966

Co-authored-by: Badanin Roman <r.badanin@etud.univ-pau.fr>
This commit is contained in:
r0m1ntik
2022-07-01 17:32:30 +02:00
committed by GitHub
parent 6bff66a9f6
commit 5e509344ac

View File

@@ -143,9 +143,9 @@ public:
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())
{