Fixed ByteBuffer not being initialized

This commit is contained in:
Sofia 2017-11-22 20:58:47 +02:00
parent b08052def9
commit e624cfe7af

View File

@ -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(); } }