mirror of
https://github.com/pangolp/mod-quest-loot-party.git
synced 2026-01-13 01:08:38 +00:00
This commit is contained in:
@@ -17,7 +17,7 @@ class PlayerLootParty : public PlayerScript
|
|||||||
public:
|
public:
|
||||||
PlayerLootParty() : PlayerScript("PlayerLootParty") { }
|
PlayerLootParty() : PlayerScript("PlayerLootParty") { }
|
||||||
|
|
||||||
void OnLogin(Player* player) override
|
void OnPlayerLogin(Player* player) override
|
||||||
{
|
{
|
||||||
if (sConfigMgr->GetOption<bool>("QuestParty.Message", false))
|
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))
|
if (sConfigMgr->GetOption<bool>("QuestParty.Enable", false))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user