parent
a0057b9e90
commit
a196f7f28a
1 changed files with 1 additions and 1 deletions
|
|
@ -994,7 +994,7 @@ bool CanRollOnItem(LootItem const& item, Player const* player, Loot* loot)
|
|||
return false;
|
||||
|
||||
uint32 itemCount = player->GetItemCount(item.itemid);
|
||||
if ((proto->MaxCount > 0 && static_cast<int32>(itemCount) >= proto->MaxCount) || (player->CanEquipUniqueItem(proto) != EQUIP_ERR_OK))
|
||||
if ((proto->MaxCount > 0 && static_cast<int32>(itemCount) >= proto->MaxCount))
|
||||
return false;
|
||||
|
||||
if (!item.AllowedForPlayer(player, loot->sourceWorldObjectGUID))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue