Let ServerPacket Handle the writting of packet data.

This commit is contained in:
hondacrx
2017-07-06 11:01:31 -04:00
parent a6b30c73e4
commit 210a2958ff
18 changed files with 73 additions and 80 deletions
+1 -3
View File
@@ -562,8 +562,6 @@ namespace Game.Entities
i_source = src;
i_message = msg;
i_distSq = dist;
i_message.Write();
}
bool IsInRangeHelper(WorldObject obj)
@@ -636,7 +634,7 @@ namespace Game.Entities
if (!player.IsAdvancedCombatLoggingEnabled())
i_message.DisableAdvancedCombatLogging();
player.SendPacket(i_message, false);
player.SendPacket(i_message);
}
WorldObject i_source;