mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Core/Item): Random item properties generation (#2331)
This commit is contained in:
@@ -1758,7 +1758,7 @@ void Spell::DoCreateItem(uint8 /*effIndex*/, uint32 itemId)
|
||||
if (addNumber)
|
||||
{
|
||||
// create the new item and store it
|
||||
Item* pItem = player->StoreNewItem(dest, newitemid, true, Item::GenerateItemRandomPropertyId(newitemid));
|
||||
Item* pItem = player->StoreNewItem(dest, newitemid, true);
|
||||
|
||||
// was it successful? return error if not
|
||||
if (!pItem)
|
||||
|
||||
Reference in New Issue
Block a user