aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_player_command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_player_command.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_player_command.rs16
1 files changed, 7 insertions, 9 deletions
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,
}