From 0dce4e29f9e76bb68d80d7d0508f5db42616d041 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 7 May 2023 11:55:33 -0300 Subject: [PATCH] fix: Include new parameter for OnGiveXP hook. --- src/Individual_XP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Individual_XP.cpp b/src/Individual_XP.cpp index 8050bae..efed2b7 100644 --- a/src/Individual_XP.cpp +++ b/src/Individual_XP.cpp @@ -88,7 +88,7 @@ public: } } - void OnGiveXP(Player* p, uint32& amount, Unit* /*victim*/) override + void OnGiveXP(Player* p, uint32& amount, Unit* /*victim*/, uint8 xpSource) override { if (IndividualXpEnabled) { if (PlayerXpRate* data = p->CustomData.Get("Individual_XP"))