From f6a3f088ac1cd9526e6b93e03ea9929658478565 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 10 Dec 2021 16:16:59 +0000 Subject: it compiles --- minecraft-protocol/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-protocol/src/connection.rs') diff --git a/minecraft-protocol/src/connection.rs b/minecraft-protocol/src/connection.rs index ba27cdad..d5cee708 100644 --- a/minecraft-protocol/src/connection.rs +++ b/minecraft-protocol/src/connection.rs @@ -72,7 +72,7 @@ impl Connection { } /// Write a packet to the server - pub async fn send_packet(&mut self, packet: Packet<'_>) { + pub async fn send_packet(&mut self, packet: Packet) { // TODO: implement compression // packet structure: -- cgit v1.2.3