update lcemp networking

This commit is contained in:
pieeebot committed 2026-08-14 07:02:50 +03:00
1 parent 125819419f
commit 6853eab85f
51 files changed
+629 -183

No files matched your search

+1 -1
View File
@@ -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)
{