refactor(Core/Player): revert equip item aura duration core fix with a spell correction (#22167)

This commit is contained in:
Jelle Meeus
2025-06-05 22:08:38 +02:00
committed by GitHub
parent 9ede3a546f
commit 0f26b634e3
2 changed files with 7 additions and 2 deletions

View File

@@ -7176,8 +7176,7 @@ void Player::ApplyEquipSpell(SpellInfo const* spellInfo, Item* item, bool apply,
LOG_DEBUG("entities.player", "WORLD: cast {} Equip spellId - {}", (item ? "item" : "itemset"), spellInfo->Id);
//Ignore spellInfo->DurationEntry, cast with -1 duration
CastCustomSpell(spellInfo->Id, SPELLVALUE_AURA_DURATION, -1, this, true, item);
CastSpell(this, spellInfo, true, item);
}
else
{