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

@@ -42,7 +42,7 @@ void UpdateGameRuleProgressPacket::read(DataInputStream *dis) //throws IOExcepti
m_dataTag = dis->readInt();
int dataLength = dis->readInt();
if(dataLength > 0)
if(dataLength > 0 && dataLength <= 65536)
{
m_data = byteArray(dataLength);
dis->readFully(m_data);