refactor(Minecraft.World): Implement LCEMP changes.

This commit is contained in:
2026-07-13 00:14:53 +03:00
parent 3fce0538c5
commit 21e2add09a
64 changed files with 655 additions and 372 deletions
@@ -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);