From a196f7f28aa263dc7f9c532e15839f3b409fb68f Mon Sep 17 00:00:00 2001 From: skelUA Date: Thu, 19 Sep 2024 16:11:31 +0300 Subject: [PATCH] fix(Core/Loot) fix bug with loot (#19882) Try to fix bug with loot --- src/server/game/Groups/Group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 7bd5cef5b69ad..91191514650cb 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -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(itemCount) >= proto->MaxCount) || (player->CanEquipUniqueItem(proto) != EQUIP_ERR_OK)) + if ((proto->MaxCount > 0 && static_cast(itemCount) >= proto->MaxCount)) return false; if (!item.AllowedForPlayer(player, loot->sourceWorldObjectGUID))