fix(Core/Player): no longer grant quest profession perk after unlearning (#24237)

This commit is contained in:
sogladev 2025-12-29 05:55:11 +01:00 committed by GitHub
parent 1e5a4b4f89
commit cfdd9322b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12027,6 +12027,9 @@ void Player::learnQuestRewardedSpells(Quest const* quest)
if (!found)
return;
if (!SatisfyQuestSkill(quest, false))
return;
CastSpell(this, spellId, true);
}