feat(Core/Scripting): Create OnStoreNewItem() hook (#13725)
This commit is contained in:
parent
e029853799
commit
6177ce4688
3 changed files with 13 additions and 1 deletions
|
|
@ -2594,7 +2594,7 @@ Item* Player::StoreNewItem(ItemPosCountVec const& dest, uint32 item, bool update
|
|||
CharacterDatabase.Execute(stmt);
|
||||
}
|
||||
|
||||
sScriptMgr->OnLootItem(this, pItem, count, ObjectGuid::Empty);
|
||||
sScriptMgr->OnStoreNewItem(this, pItem, count);
|
||||
}
|
||||
return pItem;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue