mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7108] Allow use shift-links to creature entries (from .lookup creature) in .npc add command.
This commit is contained in:
parent
64073f65c0
commit
148b7fd3ab
2 changed files with 3 additions and 3 deletions
|
|
@ -854,8 +854,8 @@ bool ChatHandler::HandleNpcAddCommand(const char* args)
|
|||
{
|
||||
if(!*args)
|
||||
return false;
|
||||
char* charID = strtok((char*)args, " ");
|
||||
if (!charID)
|
||||
char* charID = extractKeyFromLink((char*)args,"Hcreature_entry");
|
||||
if(!charID)
|
||||
return false;
|
||||
|
||||
char* team = strtok(NULL, " ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue