mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user