mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 15:38:19 +08:00
Merge pull request #140 from 0xCiBeR/master
fix: Include new parameter for OnGiveXP hook.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user