fix: Include new parameter for OnGiveXP hook.

This commit is contained in:
Kevin
2023-05-14 23:49:19 -03:00
committed by GitHub
parent b61a921c7b
commit 4ff8d369b3

View File

@@ -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)
{