mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Copyright header updates - part 3... (and some whitespace cleanups)
--HG-- branch : trunk
This commit is contained in:
@@ -3421,7 +3421,7 @@ void Spell::EffectEnchantItemPerm(SpellEffIndex effIndex)
|
||||
SpellItemEnchantmentEntry const *pEnchant = sSpellItemEnchantmentStore.LookupEntry(enchant_id);
|
||||
if (!pEnchant)
|
||||
return;
|
||||
|
||||
|
||||
// item can be in trade slot and have owner diff. from caster
|
||||
Player* item_owner = itemTarget->GetOwner();
|
||||
if (!item_owner)
|
||||
|
||||
Reference in New Issue
Block a user