Core/Loot: Check bank for unique loot items when determining loot roll eligibility (#29373)
# Conflicts: # src/server/game/Groups/Group.cpp
This commit is contained in:
1 parent
986c129bc0
commit
679298cb59
1 file changed
+1
-1
@@ -1030,7 +1030,7 @@ bool CanRollOnItem(const LootItem& item, Player const* player)
|
||||
if (!proto)
|
||||
return false;
|
||||
|
||||
uint32 itemCount = player->GetItemCount(item.itemid);
|
||||
uint32 itemCount = player->GetItemCount(item.itemid, true);
|
||||
if (proto->GetMaxCount() > 0 && itemCount >= proto->GetMaxCount())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user