fix(Core/Scripting): Also call the OnLootItem() hook on master looted… (#13683)
fix(Core/Scripting): Also call the OnLootItem() hook on master looted items
This commit is contained in:
parent
93622ccb48
commit
e64138314c
1 changed files with 2 additions and 0 deletions
|
|
@ -2593,6 +2593,8 @@ Item* Player::StoreNewItem(ItemPosCountVec const& dest, uint32 item, bool update
|
|||
stmt->SetData(1, ss.str());
|
||||
CharacterDatabase.Execute(stmt);
|
||||
}
|
||||
|
||||
sScriptMgr->OnLootItem(this, pItem, count, ObjectGuid::Empty);
|
||||
}
|
||||
return pItem;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue