fix(Core/Player): no longer grant quest profession perk after unlearning (#24237)
This commit is contained in:
@@ -12027,6 +12027,9 @@ void Player::learnQuestRewardedSpells(Quest const* quest)
|
|||||||
if (!found)
|
if (!found)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!SatisfyQuestSkill(quest, false))
|
||||||
|
return;
|
||||||
|
|
||||||
CastSpell(this, spellId, true);
|
CastSpell(this, spellId, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user