Core/Grids: Allow customizing packets sent with MessageDistDeliverer and MessageDistDelivererToHostile depending on receiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a37a2e0d7ce79d55c301f4246f08f1fc5c9c6d7)
This commit is contained in:
@@ -1548,7 +1548,8 @@ namespace Game.Entities
|
||||
|
||||
internal void SendCombatLogMessage(CombatLogServerPacket combatLog)
|
||||
{
|
||||
CombatLogSender notifier = new(this, combatLog, GetVisibilityRange());
|
||||
CombatLogSender combatLogCustomizer = new(combatLog);
|
||||
MessageDistDeliverer notifier = new(this, combatLogCustomizer, GetVisibilityRange());
|
||||
Cell.VisitWorldObjects(this, notifier, GetVisibilityRange());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user