From c403f8d8eeac499f579ec8e8f8f58fc83d3bbd92 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Fri, 13 Oct 2023 20:23:38 +0200 Subject: [PATCH] Fix wrong event ID in new hook --- PlayerHooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerHooks.cpp b/PlayerHooks.cpp index 1cd50315d0..8b53ebc8af 100644 --- a/PlayerHooks.cpp +++ b/PlayerHooks.cpp @@ -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);