diff --git a/minecraft-server/src/entities/player.rs b/minecraft-server/src/entities/player.rs index 4fdeb5ce..9f2717b8 100644 --- a/minecraft-server/src/entities/player.rs +++ b/minecraft-server/src/entities/player.rs @@ -363,6 +363,9 @@ impl Handler { RequestPing { payload } => { self.send_packet(PlayClientbound::Ping { id: payload as i32 }).await; } + KeepAlive { keep_alive_id } => { + self.send_packet(PlayClientbound::KeepAlive { keep_alive_id }).await; + } packet => warn!("Unsupported packet received: {packet:?}"), } }