Fixed: #1490 Added a 'no context' object in the createNamedItemInBag admin function.

This commit is contained in:
sfb 2012-09-12 14:25:01 -05:00
parent 13c5b17e61
commit 15dd01caf7

View file

@ -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;
}
}