Skip to content

Commit c121cd3

Browse files
committed
NPCBots: Ignore group loot threshold for autoloot if the group only has one member
1 parent 74772ad commit c121cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/game/AI/NpcBots/bot_ai.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11891,7 +11891,7 @@ uint32 bot_ai::_getLootQualityThreshold() const
1189111891
{
1189211892
uint32 lootThreshold;
1189311893
Group const* gr = master->GetGroup();
11894-
if (!gr)
11894+
if (!gr || gr->GetFirstMember()->next() == nullptr)
1189511895
lootThreshold = uint32(MAX_ITEM_QUALITY);
1189611896
else
1189711897
{

0 commit comments

Comments
 (0)