mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 08:36:14 +00:00
Fixed: #1490 Added a 'no context' object in the createNamedItemInBag admin function.
This commit is contained in:
parent
d0e0d17ff3
commit
335b49716c
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;
|
quantity = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TLogNoContext_Item noLog;
|
||||||
CGameItemPtr item = CNamedItems::getInstance().createNamedItem(args[1], quantity);
|
CGameItemPtr item = CNamedItems::getInstance().createNamedItem(args[1], quantity);
|
||||||
if (item == NULL)
|
if (item == NULL)
|
||||||
{
|
{
|
||||||
|
@ -8762,4 +8763,4 @@ NLMISC_COMMAND(setSimplePhrase, "Set an IOS phrase", "<id> <phrase> [<language c
|
||||||
msgout.serial(lang);
|
msgout.serial(lang);
|
||||||
sendMessageViaMirror("IOS", msgout);
|
sendMessageViaMirror("IOS", msgout);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue