update lcemp networking
This commit is contained in:
51 files changed
+629
-183
No files matched your search
@@ -43,7 +43,7 @@ void CustomPayloadPacket::read(DataInputStream *dis)
|
||||
identifier = readUtf(dis, 20);
|
||||
length = dis->readShort();
|
||||
|
||||
if (length > 0 && length < Short::MAX_VALUE)
|
||||
if (length > 0 && length <= Short::MAX_VALUE)
|
||||
{
|
||||
if(data.data != NULL)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user