mirror of
https://github.com/azerothcore/mod-aoe-loot
synced 2025-11-29 21:38:16 +08:00
Fix. Give the player the quest items too (#25)
This commit is contained in:
@@ -101,7 +101,11 @@ public:
|
||||
if (!player->HasItemCount(item.itemid, 1, true))
|
||||
aoeLoot[item.itemid] = 1;
|
||||
}
|
||||
player->SendNotifyLootItemRemoved(item.itemIndex);
|
||||
}
|
||||
|
||||
for (auto const& item : loot->quest_items)
|
||||
{
|
||||
aoeLoot[item.itemid] += (uint32)item.count;
|
||||
}
|
||||
|
||||
player->SendLootRelease(player->GetLootGUID());
|
||||
|
||||
Reference in New Issue
Block a user