mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-06-05 20:14:38 +00:00
fix: add splitscreen, fix dlcs not loading, major RCE vuln fix on packet net, fix chunk loading on non-server clients, persistent saves
note: I changed how XUID works, player data might be wiped on old saves, save items on a chest or similar before trying to load old saves on new version
This commit is contained in:
@@ -21,7 +21,9 @@ RemoveEntitiesPacket::~RemoveEntitiesPacket()
|
||||
|
||||
void RemoveEntitiesPacket::read(DataInputStream *dis) //throws IOException
|
||||
{
|
||||
ids = intArray(dis->readByte());
|
||||
int count = dis->readByte();
|
||||
if(count < 0) count = 0;
|
||||
ids = intArray(count);
|
||||
for(unsigned int i = 0; i < ids.length; ++i)
|
||||
{
|
||||
ids[i] = dis->readInt();
|
||||
|
||||
Reference in New Issue
Block a user