fixed: network fix

This commit is contained in:
Reider745
2025-01-08 11:18:54 +03:00
parent 8edabac056
commit a3fa41de85
@@ -1,6 +1,7 @@
package com.reider745.network;
import cn.nukkit.Server;
import cn.nukkit.network.protocol.BatchPacket;
import cn.nukkit.network.protocol.DataPacket;
import com.reider745.InnerCoreServer;
import com.reider745.hooks.network.RakNetPlayerSessionHooks;
@@ -35,7 +36,7 @@ public class InnerCorePacket extends BasePacket {
name = this.getString();
format_id = this.getVarInt();
bytes_length = this.getVarInt();
bytes = this.get();
bytes = this.get(bytes_length);
if(InnerCoreServer.isDebugInnerCoreNetwork())
System.out.println("Recived packet for native protocol "+name);