mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core): check quest conditions on item equip (#1936)
This commit is contained in:
@@ -12820,6 +12820,7 @@ Item* Player::EquipItem(uint16 pos, Item* pItem, bool update)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
sScriptMgr->OnEquip(this, pItem, bag, slot, update);
|
sScriptMgr->OnEquip(this, pItem, bag, slot, update);
|
||||||
|
UpdateForQuestWorldObjects();
|
||||||
return pItem;
|
return pItem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user