|
|
@ -233,6 +233,7 @@ CGameItemPtr CGameItemManager::createItem( const CSheetId& sheetId, uint16 quali
|
|
|
|
// nlerror("<CGameItemManager::createItem> Can't find the owner item %s",owner.toString().c_str());
|
|
|
|
// nlerror("<CGameItemManager::createItem> Can't find the owner item %s",owner.toString().c_str());
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
log_Item_Create(item->getItemId(), item->getSheetId(), item->getStackSize(), item->quality());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -240,8 +241,6 @@ CGameItemPtr CGameItemManager::createItem( const CSheetId& sheetId, uint16 quali
|
|
|
|
nlwarning("<CGameItemManager::createItem> Can't create an item with invalid sheet '%s'", sheetId.toString().c_str());
|
|
|
|
nlwarning("<CGameItemManager::createItem> Can't create an item with invalid sheet '%s'", sheetId.toString().c_str());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log_Item_Create(item->getItemId(), item->getSheetId(), item->getStackSize(), item->quality());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return item;
|
|
|
|
return item;
|
|
|
|
|
|
|
|
|
|
|
|
} // createItem //
|
|
|
|
} // createItem //
|
|
|
|