forked from BLOCKFANTASY/LOOHP-Limbo
Minecraft 1.19.4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user