remove unnecessary empty impls

This commit is contained in:
mat 2022-07-30 17:56:36 -05:00
parent 1eef0a537e
commit 9ef1e8d653

View file

@ -82,10 +82,6 @@ impl Connection<ClientboundHandshakePacket, ServerboundHandshakePacket> {
}
}
impl Connection<ClientboundGamePacket, ServerboundGamePacket> {}
impl Connection<ClientboundStatusPacket, ServerboundStatusPacket> {}
impl Connection<ClientboundLoginPacket, ServerboundLoginPacket> {
pub fn set_compression_threshold(&mut self, threshold: i32) {
// if you pass a threshold of 0 or less, compression is disabled