Fix. Give the player the quest items too (#25)

This commit is contained in:
Walter Pagani
2024-02-21 02:07:32 -03:00
committed by GitHub
parent dc493af44f
commit ea69636739

View File

@@ -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());