Minecraft 1.19.4

This commit is contained in:
LOOHP
2023-03-16 02:44:42 +00:00
parent ba0f98b6c7
commit cfd8a0ab2c
12 changed files with 61738 additions and 54461 deletions
@@ -99,10 +99,14 @@ public class Channel implements AutoCloseable {
}
packet = write.getPacket();
byte[] packetByte = packet.serializePacket();
writePacketRaw(packetByte);
return true;
}
public void writePacketRaw(byte[] packetByte) throws IOException {
DataTypeIO.writeVarInt(output, packetByte.length);
output.write(packetByte);
output.flush();
return true;
}
@Override