From 4ff8d369b3f362bdaaa4445cc5e185e2fee04b76 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 14 May 2023 23:49:19 -0300 Subject: [PATCH] fix: Include new parameter for OnGiveXP hook. --- src/IndividualProgressionPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index d475561..fd2a746 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -130,7 +130,7 @@ public: } } - void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/) override + void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/, uint8 /*xpSource*/) override { if (!sIndividualProgression->enabled) {