mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-11 19:53:52 +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
|
|
@ -21,9 +21,7 @@ RemoveEntitiesPacket::~RemoveEntitiesPacket()
|
|||
|
||||
void RemoveEntitiesPacket::read(DataInputStream *dis) //throws IOException
|
||||
{
|
||||
int count = dis->readByte();
|
||||
if(count < 0) count = 0;
|
||||
ids = intArray(count);
|
||||
ids = intArray(dis->readByte());
|
||||
for(unsigned int i = 0; i < ids.length; ++i)
|
||||
{
|
||||
ids[i] = dis->readInt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue