From 4bda3c1b781980ea2026ccc5f70e51cce0f3bc39 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 16 Dec 2021 12:58:24 -0500 Subject: [PATCH] Core/Groups: do not allow lfg groups to change the loot mode Port From (https://github.com/TrinityCore/TrinityCore/commit/0feebcdf5bafd57068d448d244e65e6cb95f6a6f) --- Source/Game/Handlers/GroupHandler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Game/Handlers/GroupHandler.cs b/Source/Game/Handlers/GroupHandler.cs index 46cd5e723..24c427152 100644 --- a/Source/Game/Handlers/GroupHandler.cs +++ b/Source/Game/Handlers/GroupHandler.cs @@ -358,6 +358,9 @@ namespace Game if (!group.IsLeader(GetPlayer().GetGUID())) return; + if (group.IsLFGGroup()) + return; + switch (packet.LootMethod) { case LootMethod.FreeForAll: