Core/Items: Implemented ITEM_FLAG3_DONT_REPORT_LOOT_LOG_TO_PARTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/40c3add02e2df95b178caa51c806a324d556f582)
This commit is contained in:
@@ -2528,7 +2528,7 @@ namespace Game.Entities
|
||||
//packet.IsBonusRoll;
|
||||
//packet.IsEncounterLoot;
|
||||
|
||||
if (broadcast && GetGroup())
|
||||
if (broadcast && GetGroup() && !item.GetTemplate().HasFlag(ItemFlags3.DontReportLootLogToParty))
|
||||
GetGroup().BroadcastPacket(packet, true);
|
||||
else
|
||||
SendPacket(packet);
|
||||
|
||||
Reference in New Issue
Block a user