refactor(Core/Command): tele to teleport (#2956)
This commit is contained in:
parent
2743874e5d
commit
027c42fdec
3 changed files with 11 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ public:
|
|||
{ "quest", SEC_MODERATOR, true, &HandleLookupQuestCommand, "" },
|
||||
{ "skill", SEC_MODERATOR, true, &HandleLookupSkillCommand, "" },
|
||||
{ "taxinode", SEC_MODERATOR, true, &HandleLookupTaxiNodeCommand, "" },
|
||||
{ "tele", SEC_MODERATOR, true, &HandleLookupTeleCommand, "" },
|
||||
{ "teleport", SEC_MODERATOR, true, &HandleLookupTeleCommand, "" },
|
||||
{ "title", SEC_MODERATOR, true, &HandleLookupTitleCommand, "" },
|
||||
{ "map", SEC_MODERATOR, true, &HandleLookupMapCommand, "" },
|
||||
{ "player", SEC_GAMEMASTER, true, nullptr, "", lookupPlayerCommandTable },
|
||||
|
|
@ -1045,7 +1045,7 @@ public:
|
|||
return true;
|
||||
}
|
||||
|
||||
// Find tele in game_tele order by name
|
||||
// Find teleport in game_tele order by name
|
||||
static bool HandleLookupTeleCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
if (!*args)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public:
|
|||
};
|
||||
static std::vector<ChatCommand> commandTable =
|
||||
{
|
||||
{ "tele", SEC_MODERATOR, false, nullptr, "", teleCommandTable }
|
||||
{ "teleport", SEC_MODERATOR, false, nullptr, "", teleCommandTable }
|
||||
};
|
||||
return commandTable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue