Core/Groups: do not allow lfg groups to change the loot method

This commit is contained in:
Ovahlord
2019-06-01 04:54:41 +02:00
parent 4591dbaef5
commit dea84a2e7f

View File

@@ -669,6 +669,9 @@ void WorldSession::HandleLootMethodOpcode(WorldPacket& recvData)
if (!group->IsLeader(GetPlayer()->GetGUID()))
return;
if (group->isLFGGroup())
return;
if (lootMethod > NEED_BEFORE_GREED)
return;