mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-22 20:57:47 +00:00
Removed a buffer being created for no reason.
This commit is contained in:
parent
d989ec2a58
commit
bd4e4a293c
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ namespace FFXIVClassic_Lobby_Server
|
|||
BasePacket packet = sendPacketQueue.Take();
|
||||
|
||||
byte[] packetBytes = packet.getPacketBytes();
|
||||
byte[] buffer = new byte[0xFFFF];
|
||||
Array.Copy(packetBytes, buffer, packetBytes.Length);
|
||||
|
||||
try
|
||||
{
|
||||
socket.Send(packetBytes);
|
||||
|
|
Loading…
Add table
Reference in a new issue