mirror of
https://github.com/pangolp/mod-quest-loot-party.git
synced 2026-01-13 01:08:38 +00:00
Feat. Only Quality normal (#1)
This commit is contained in:
@@ -29,7 +29,12 @@ public:
|
||||
{
|
||||
if (sConfigMgr->GetOption<bool>("QuestParty.Enable", false))
|
||||
{
|
||||
item.freeforall = true;
|
||||
ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(item.itemid);
|
||||
|
||||
if (itemTemplate->Quality == ITEM_QUALITY_NORMAL)
|
||||
{
|
||||
item.freeforall = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user