diff --git a/minecraft-server/src/entities/player.rs b/minecraft-server/src/entities/player.rs index c02cbc7b..4fdeb5ce 100644 --- a/minecraft-server/src/entities/player.rs +++ b/minecraft-server/src/entities/player.rs @@ -294,7 +294,7 @@ impl Handler { } } - async fn on_packet(self, packet: PlayServerbound) { + async fn on_packet(self, packet: PlayServerbound<'_>) { use PlayServerbound::*; match packet { SetPlayerPosition { x, y, z, on_ground } => {