Core/Loot: Implemented dungeon encounter personal loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/010e6f7f49744b16e3ecececb7d9605f8b8db4d5)
This commit is contained in:
@@ -350,11 +350,12 @@ namespace Game
|
||||
[WorldPacketHandler(ClientOpcodes.SetLootMethod)]
|
||||
void HandleSetLootMethod(SetLootMethod packet)
|
||||
{
|
||||
// not allowed to change
|
||||
/*
|
||||
Group group = GetPlayer().GetGroup();
|
||||
if (!group)
|
||||
return;
|
||||
return;
|
||||
|
||||
/** error handling **/
|
||||
if (!group.IsLeader(GetPlayer().GetGUID()))
|
||||
return;
|
||||
|
||||
@@ -383,6 +384,7 @@ namespace Game
|
||||
group.SetMasterLooterGuid(packet.LootMasterGUID);
|
||||
group.SetLootThreshold(packet.LootThreshold);
|
||||
group.SendUpdate();
|
||||
*/
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.MinimapPing)]
|
||||
|
||||
Reference in New Issue
Block a user