Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
This commit is contained in:
@@ -40,9 +40,9 @@ namespace Game.Entities
|
||||
SetUpdateFieldValue(m_values.ModifyValue(m_azeriteItemData).ModifyValue(m_azeriteItemData.DEBUGknowledgeWeek), -1);
|
||||
}
|
||||
|
||||
public override bool Create(ulong guidlow, uint itemId, Player owner)
|
||||
public override bool Create(ulong guidlow, uint itemId, ItemContext context, Player owner)
|
||||
{
|
||||
if (!base.Create(guidlow, itemId, owner))
|
||||
if (!base.Create(guidlow, itemId, context, owner))
|
||||
return false;
|
||||
|
||||
SetUpdateFieldValue(m_values.ModifyValue(m_azeriteItemData).ModifyValue(m_azeriteItemData.Level), 1u);
|
||||
|
||||
Reference in New Issue
Block a user