mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Groups: do not allow lfg groups to change the loot method
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user