mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-22 11:38:12 +05:00
Revert accidentally pushed "LCEMP RCE fixes"
This reverts commit d557ca2dfb.
This commit is contained in:
@@ -32,12 +32,7 @@ void ComplexItemDataPacket::read(DataInputStream *dis) //throws IOException
|
||||
itemType = dis->readShort();
|
||||
itemId = dis->readShort();
|
||||
|
||||
int dataLength = dis->readShort() & 0xffff;
|
||||
if (dataLength > 32767)
|
||||
{
|
||||
dataLength = 0;
|
||||
}
|
||||
data = charArray(dataLength);
|
||||
data = charArray(dis->readUnsignedShort() & 0xffff);
|
||||
dis->readFully(data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user