mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 04:03:53 +00:00
Revert accidentally pushed "LCEMP RCE fixes"
This reverts commit d557ca2dfb.
This commit is contained in:
parent
d557ca2dfb
commit
a358a3caae
27 changed files with 80 additions and 222 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue