mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
reduce item instance guid consume
This commit is contained in:
@@ -154,7 +154,7 @@ ItemUsage ItemUsageValue::QueryItemUsageForEquip(ItemTemplate const* itemProto)
|
||||
if (itemProto->InventoryType == INVTYPE_NON_EQUIP)
|
||||
return ITEM_USAGE_NONE;
|
||||
|
||||
Item* pItem = Item::CreateItem(itemProto->ItemId, 1, bot);
|
||||
Item* pItem = Item::CreateItem(itemProto->ItemId, 1, bot, false, 0, true);
|
||||
if (!pItem)
|
||||
return ITEM_USAGE_NONE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user