Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
This commit is contained in:
@@ -240,7 +240,7 @@ namespace Game.BlackMarket
|
||||
|
||||
// Create item
|
||||
BlackMarketTemplate templ = entry.GetTemplate();
|
||||
Item item = Item.CreateItem(templ.Item.ItemID, templ.Quantity);
|
||||
Item item = Item.CreateItem(templ.Item.ItemID, templ.Quantity, ItemContext.BlackMarket);
|
||||
if (!item)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user