Partial revert of af9c6b4483
send the packet to all other players instead
This commit is contained in:
1 parent
af9c6b4483
commit
3d29ffeb1a
1 file changed
+11
@@ -11525,8 +11525,19 @@ 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(), false);
|
||||
}
|
||||
}
|
||||
|
||||
// Generate loot before updating looter
|
||||
if (creature)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user