diff --git a/src/game/Chat/Chat.cpp b/src/game/Chat/Chat.cpp index 6ad71b0cd..72f68994d 100644 --- a/src/game/Chat/Chat.cpp +++ b/src/game/Chat/Chat.cpp @@ -246,6 +246,10 @@ bool ChatHandler::ExecuteCommandInTable(std::vector const& table, c for (uint32 i = 0; i < table.size(); ++i) { + // for data fill use full explicit command names + if (table[i].Name == nullptr || table[i].Name != cmd) + continue; + if (!hasStringAbbr(table[i].Name, cmd.c_str())) continue;