fixed collection items throwing a no quest found error in logs

This commit is contained in:
Image 2021-02-28 09:07:35 -05:00
parent 276dd356b6
commit 8d943b8c42

View file

@ -3565,7 +3565,10 @@ void Commands::Process(int32 index, EQ2_16BitString* command_parms, Client* clie
}
bool collectedItems = false;
if (collection = player->GetPendingCollectionReward())
{
client->AcceptCollectionRewards(collection, selectable_item_id);
collectedItems = true;
}
else if (client->GetPlayer()->HasPendingItemRewards()) {
vector<Item*> items = client->GetPlayer()->GetPendingItemRewards();
if (items.size() > 0) {