aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-07-30 17:56:36 -0500
committermat <github@matdoes.dev>2022-07-30 17:56:36 -0500
commit9ef1e8d653acd7e8e026cbde9c0320cedb8cf1d3 (patch)
tree254a58c1ac77b047df0b86d75d3c6d9dd52c14fc /azalea-protocol
parent1eef0a537e13b56d55a5a96e61a7e1361dbb02d6 (diff)
downloadazalea-drasl-9ef1e8d653acd7e8e026cbde9c0320cedb8cf1d3.tar.xz
remove unnecessary empty impls
Diffstat (limited to 'azalea-protocol')
-rwxr-xr-xazalea-protocol/src/connect.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/azalea-protocol/src/connect.rs b/azalea-protocol/src/connect.rs
index 75c64517..cd51f86c 100755
--- a/azalea-protocol/src/connect.rs
+++ b/azalea-protocol/src/connect.rs
@@ -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