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

Port From (https://github.com/TrinityCore/TrinityCore/commit/0feebcdf5bafd57068d448d244e65e6cb95f6a6f)
This commit is contained in:
hondacrx
2021-12-16 12:58:24 -05:00
parent 736892998f
commit 4bda3c1b78
+3
View File
@@ -358,6 +358,9 @@ namespace Game
if (!group.IsLeader(GetPlayer().GetGUID()))
return;
if (group.IsLFGGroup())
return;
switch (packet.LootMethod)
{
case LootMethod.FreeForAll: