Skip to content

Commit

Permalink
Fix wrong event ID in new hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Oct 13, 2023
1 parent 90bd45d commit c403f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlayerHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void Eluna::OnLearnTalents(Player* pPlayer, uint32 talentId, uint32 talentRank,

void Eluna::OnLearnSpell(Player* pPlayer, uint32 spellId)
{
START_HOOK(PLAYER_EVENT_ON_LEARN_TALENTS);
START_HOOK(PLAYER_EVENT_ON_LEARN_SPELL);
Push(pPlayer);
Push(spellId);
CallAllFunctions(PlayerEventBindings, key);
Expand Down

0 comments on commit c403f8d

Please sign in to comment.