From eeefd1d51aee94d6281002e528ffb900eba1ca49 Mon Sep 17 00:00:00 2001 From: Snowiiii Date: Thu, 15 Aug 2024 15:18:15 +0200 Subject: [PATCH] Fix: Elytra --- pumpkin-protocol/src/server/play/s_player_command.rs | 1 + pumpkin/src/client/player_packet.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pumpkin-protocol/src/server/play/s_player_command.rs b/pumpkin-protocol/src/server/play/s_player_command.rs index f480766b4..cc364e9fd 100644 --- a/pumpkin-protocol/src/server/play/s_player_command.rs +++ b/pumpkin-protocol/src/server/play/s_player_command.rs @@ -18,6 +18,7 @@ pub enum Action { StartSprinting, StopSprinting, StartHourseJump, + StopHourseJump, OpenVehicleInventory, StartFlyingElytra, } diff --git a/pumpkin/src/client/player_packet.rs b/pumpkin/src/client/player_packet.rs index f74acf9e4..4ed9c8df2 100644 --- a/pumpkin/src/client/player_packet.rs +++ b/pumpkin/src/client/player_packet.rs @@ -183,8 +183,9 @@ impl Client { pumpkin_protocol::server::play::Action::StartSprinting => player.sprinting = true, pumpkin_protocol::server::play::Action::StopSprinting => player.sprinting = false, pumpkin_protocol::server::play::Action::StartHourseJump => todo!(), + pumpkin_protocol::server::play::Action::StopHourseJump => todo!(), pumpkin_protocol::server::play::Action::OpenVehicleInventory => todo!(), - pumpkin_protocol::server::play::Action::StartFlyingElytra => todo!(), + pumpkin_protocol::server::play::Action::StartFlyingElytra => {}, // TODO } }