Partial revert of af9c6b4483

send the packet to all other players instead
This commit is contained in:
Ovahlord committed 2020-10-24 11:24:40 +02:00
1 parent af9c6b4483
commit 3d29ffeb1a
1 file changed
+11
+11
View File
@@ -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)
{