From ffbe7a3e426e66c21c7156780728f96f8277c68a Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 17 Jun 2025 06:49:07 -1200 Subject: 1.21.6 (#215) --- azalea-protocol/src/packets/game/s_player_command.rs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'azalea-protocol/src/packets/game/s_player_command.rs') diff --git a/azalea-protocol/src/packets/game/s_player_command.rs b/azalea-protocol/src/packets/game/s_player_command.rs index f620b847..48ce5975 100644 --- a/azalea-protocol/src/packets/game/s_player_command.rs +++ b/azalea-protocol/src/packets/game/s_player_command.rs @@ -13,13 +13,11 @@ pub struct ServerboundPlayerCommand { #[derive(AzBuf, Clone, Copy, Debug)] pub enum Action { - PressShiftKey = 0, - ReleaseShiftKey = 1, - StopSleeping = 2, - StartSprinting = 3, - StopSprinting = 4, - StartRidingJump = 5, - StopRidingJump = 6, - OpenInventory = 7, - StartFallFlying = 8, + StopSleeping, + StartSprinting, + StopSprinting, + StartRidingJump, + StopRidingJump, + OpenInventory, + StartFallFlying, } -- cgit v1.2.3