Core/Loot: Move loot generation out of Player::SendLoot
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c20f620d7b070b13b40803095e5fa97f9349512)
This commit is contained in:
@@ -762,7 +762,8 @@ namespace Game.Loots
|
||||
Group group = lootOwner.GetGroup();
|
||||
if (!personal && group != null)
|
||||
{
|
||||
roundRobinPlayer = lootOwner.GetGUID();
|
||||
if (loot_type == LootType.Corpse)
|
||||
roundRobinPlayer = lootOwner.GetGUID();
|
||||
|
||||
for (GroupReference refe = group.GetFirstMember(); refe != null; refe = refe.Next())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user