fix(Core/Loot): Disenchanted, milled or prospected items should be se… (#14273)

fix(Core/Loot): Disenchanted, milled or prospected items should be sent as retrieval mail in case of full bags.

Fixes #10798
This commit is contained in:
UltraNix
2022-12-28 01:43:12 +01:00
committed by GitHub
parent 2eb374c6e4
commit 6345958769
4 changed files with 28 additions and 11 deletions

View File

@@ -627,7 +627,10 @@ void Loot::FillNotNormalLootFor(Player* player)
if (!item->is_looted && item->freeforall && item->AllowedForPlayer(player, sourceWorldObjectGUID))
if (ItemTemplate const* proto = sObjectMgr->GetItemTemplate(item->itemid))
if (proto->IsCurrencyToken())
player->StoreLootItem(i, this);
{
InventoryResult msg;
player->StoreLootItem(i, this, msg);
}
}
}