Skip to content

Commit

Permalink
feat (src/AoeLoot) Use a different hook (azerothcore#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Feb 7, 2024
1 parent c5bfaf4 commit b5184c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AoeLoot_SC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class AoeLoot_Player : public PlayerScript
OnCreatureLootAOE(player);
}

void OnAfterCreatureLootMoney(Player* player) override
void OnBeforeLootMoney(Player* player, Loot* /*loot*/) override
{
OnCreatureLootAOE(player);
}
Expand Down

0 comments on commit b5184c8

Please sign in to comment.