Core/Units: do not send loot list packets to players when they are not in a group
This commit is contained in:
1 parent
5816918c13
commit
af9c6b4483
1 file changed
-11
@@ -11525,19 +11525,8 @@ void Unit::Kill(Unit* victim, bool durabilityLoss)
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
player->SendDirectMessage(&data);
|
||||
|
||||
if (creature)
|
||||
{
|
||||
WorldPackets::Loot::LootList lootList;
|
||||
lootList.Owner = creature->GetGUID();
|
||||
lootList.RoundRobinWinner = player->GetGUID();
|
||||
|
||||
player->SendMessageToSet(lootList.Write(), true);
|
||||
}
|
||||
}
|
||||
|
||||
// Generate loot before updating looter
|
||||
if (creature)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user