mirror of
https://github.com/araxiaonline/mod-individual-xp.git
synced 2026-06-13 02:32:23 -04:00
fix: Include new parameter for OnGiveXP hook.
This commit is contained in:
@@ -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<PlayerXpRate>("Individual_XP"))
|
||||
|
||||
Reference in New Issue
Block a user