fix(Core/Player): Make sure OnEquip spells from items are added after revive (#24238)

This commit is contained in:
Kitzunu
2026-01-01 09:47:09 +01:00
committed by GitHub
parent 3cff84de99
commit c521e712d3
4 changed files with 33 additions and 1 deletions

View File

@@ -14711,7 +14711,7 @@ void Unit::setDeathState(DeathState s, bool despawn)
}
else if (s == DeathState::JustRespawned)
{
RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE); // clear skinnable for creature and player (at battleground)
RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE); // clear skinnable for creature and player (at battleground)
}
}