Core/Items: Disable effects on items marked as legacy
Port From (https://github.com/TrinityCore/TrinityCore/commit/c34e0f80a0337ba582aeee17a478081f99a69686)
This commit is contained in:
@@ -3817,7 +3817,7 @@ namespace Game.Entities
|
||||
|
||||
void ApplyItemEquipSpell(Item item, bool apply, bool formChange = false)
|
||||
{
|
||||
if (item == null)
|
||||
if (item == null || item.GetTemplate().GetFlags().HasFlag(ItemFlags.Legacy))
|
||||
return;
|
||||
|
||||
foreach (ItemEffectRecord effectData in item.GetEffects())
|
||||
|
||||
Reference in New Issue
Block a user