mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
Updated ScriptMgr with new function to favorite transmog module
This commit is contained in:
@@ -12682,7 +12682,7 @@ void Player::QuickEquipItem(uint16 pos, Item* pItem)
|
||||
}
|
||||
|
||||
void Player::SetVisibleItemSlot(uint8 slot, Item* pItem)
|
||||
{
|
||||
{
|
||||
if (pItem)
|
||||
{
|
||||
SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID + (slot * 2), pItem->GetEntry());
|
||||
@@ -12694,6 +12694,8 @@ void Player::SetVisibleItemSlot(uint8 slot, Item* pItem)
|
||||
SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENTRYID + (slot * 2), 0);
|
||||
SetUInt32Value(PLAYER_VISIBLE_ITEM_1_ENCHANTMENT + (slot * 2), 0);
|
||||
}
|
||||
|
||||
sScriptMgr->OnAfterPlayerSetVisibleItemSlot(this, slot, pItem);
|
||||
}
|
||||
|
||||
void Player::VisualizeItem(uint8 slot, Item* pItem)
|
||||
|
||||
Reference in New Issue
Block a user