Adding fixes to support AzerothCore Core/PlayerScript changes (#21020) (#4)

This commit is contained in:
archer-gh
2025-02-26 04:33:30 -07:00
committed by GitHub
parent 0dd61055ca
commit f661dbc304

View File

@@ -17,7 +17,7 @@ class PlayerLootParty : public PlayerScript
public:
PlayerLootParty() : PlayerScript("PlayerLootParty") { }
void OnLogin(Player* player) override
void OnPlayerLogin(Player* player) override
{
if (sConfigMgr->GetOption<bool>("QuestParty.Message", false))
{
@@ -25,7 +25,7 @@ public:
}
}
void OnBeforeFillQuestLootItem(Player* /*player*/, LootItem& item) override
void OnPlayerBeforeFillQuestLootItem(Player* /*player*/, LootItem& item) override
{
if (sConfigMgr->GetOption<bool>("QuestParty.Enable", false))
{