update lcemp networking

This commit is contained in:
pieeebot committed 2026-08-14 07:02:50 +03:00
1 parent 125819419f
commit 6853eab85f
51 files changed
+629 -183

No files matched your search

+3 -1
View File
@@ -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();