mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Items: Implemented ITEM_FLAG3_DONT_REPORT_LOOT_LOG_TO_PARTY
This commit is contained in:
@@ -13951,7 +13951,7 @@ void Player::SendNewItem(Item* item, uint32 quantity, bool pushed, bool created,
|
||||
//packet.IsBonusRoll;
|
||||
//packet.IsEncounterLoot;
|
||||
|
||||
if (broadcast && GetGroup())
|
||||
if (broadcast && GetGroup() && !item->GetTemplate()->HasFlag(ITEM_FLAG3_DONT_REPORT_LOOT_LOG_TO_PARTY))
|
||||
GetGroup()->BroadcastPacket(packet.Write(), true);
|
||||
else
|
||||
SendDirectMessage(packet.Write());
|
||||
|
||||
Reference in New Issue
Block a user