Fixed: #1490 Added a 'no context' object in the createNamedItemInBag admin function.
This commit is contained in:
parent
e2237d3971
commit
e48a8bd13e
1 changed files with 2 additions and 1 deletions
|
@ -1620,6 +1620,7 @@ NLMISC_COMMAND(createNamedItemInBag, "create a named item in bag", "<eId> <item>
|
|||
quantity = 1;
|
||||
}
|
||||
|
||||
TLogNoContext_Item noLog;
|
||||
CGameItemPtr item = CNamedItems::getInstance().createNamedItem(args[1], quantity);
|
||||
if (item == NULL)
|
||||
{
|
||||
|
@ -8762,4 +8763,4 @@ NLMISC_COMMAND(setSimplePhrase, "Set an IOS phrase", "<id> <phrase> [<language c
|
|||
msgout.serial(lang);
|
||||
sendMessageViaMirror("IOS", msgout);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue