mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
fix(Core/Items): Removed tradeable flag from items with temp enchants. (#7160)
Fixed #6325. Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
@@ -3070,6 +3070,9 @@ void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex)
|
||||
|
||||
// add new enchanting if equipped
|
||||
item_owner->ApplyEnchantment(itemTarget, TEMP_ENCHANTMENT_SLOT, true);
|
||||
|
||||
item_owner->RemoveTradeableItem(itemTarget);
|
||||
itemTarget->ClearSoulboundTradeable(item_owner);
|
||||
}
|
||||
|
||||
void Spell::EffectTameCreature(SpellEffIndex /*effIndex*/)
|
||||
|
||||
Reference in New Issue
Block a user