readPacket static method
Read a single packet by ID.
Implementation
static ServerPacket? readPacket(int id, PacketReader reader) {
return _clientboundPackets[id]?.clone()?..read(reader);
}
Read a single packet by ID.
static ServerPacket? readPacket(int id, PacketReader reader) {
return _clientboundPackets[id]?.clone()?..read(reader);
}