Fixed ByteBuffer not being initialized
This commit is contained in:
parent
b08052def9
commit
9b9084d2fe
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
namespace Network.PacketHandling {
|
||||
public class PacketBuffer {
|
||||
|
||||
private List<byte> ByteList;
|
||||
private List<byte> ByteList = new List<byte>();
|
||||
private int ReadCounter = 0;
|
||||
|
||||
public byte[] ByteBuffer { get { return ByteList.ToArray(); } }
|
||||
|
Loading…
Reference in New Issue
Block a user