fix(Core/Player): no longer grant quest profession perk after unlearning (#24237)
This commit is contained in:
parent
1e5a4b4f89
commit
cfdd9322b7
1 changed files with 3 additions and 0 deletions
|
|
@ -12027,6 +12027,9 @@ void Player::learnQuestRewardedSpells(Quest const* quest)
|
|||
if (!found)
|
||||
return;
|
||||
|
||||
if (!SatisfyQuestSkill(quest, false))
|
||||
return;
|
||||
|
||||
CastSpell(this, spellId, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue