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:
@@ -358,6 +358,9 @@ namespace Game
|
|||||||
if (!group.IsLeader(GetPlayer().GetGUID()))
|
if (!group.IsLeader(GetPlayer().GetGUID()))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (group.IsLFGGroup())
|
||||||
|
return;
|
||||||
|
|
||||||
switch (packet.LootMethod)
|
switch (packet.LootMethod)
|
||||||
{
|
{
|
||||||
case LootMethod.FreeForAll:
|
case LootMethod.FreeForAll:
|
||||||
|
|||||||
Reference in New Issue
Block a user