From f661dbc3047a5d684b74c5c302fc5a8acf055af7 Mon Sep 17 00:00:00 2001 From: archer-gh <22422328+archer-gh@users.noreply.github.com> Date: Wed, 26 Feb 2025 04:33:30 -0700 Subject: [PATCH] Adding fixes to support AzerothCore Core/PlayerScript changes (#21020) (#4) --- src/quest_loot_party.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/quest_loot_party.cpp b/src/quest_loot_party.cpp index a7cdca6..a9718e6 100644 --- a/src/quest_loot_party.cpp +++ b/src/quest_loot_party.cpp @@ -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("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("QuestParty.Enable", false)) {