Skip to content

Commit

Permalink
Re-add SSwingArm
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas0008 committed Aug 7, 2024
1 parent 2e31fda commit aab13de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pumpkin-protocol/src/server/play/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ mod s_player_command;
mod s_player_position;
mod s_player_position_rotation;
mod s_player_rotation;
mod s_swing_arm;

pub use s_chat_command::*;
pub use s_confirm_teleport::*;
pub use s_player_command::*;
pub use s_player_position::*;
pub use s_player_position_rotation::*;
pub use s_player_rotation::*;
pub use s_swing_arm::*;
8 changes: 8 additions & 0 deletions pumpkin-protocol/src/server/play/s_swing_arm.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use crate::VarInt;
use pumpkin_macros::packet;

#[derive(serde::Deserialize)]
#[packet(0x36)]
pub struct SSwingArm {
pub hand: VarInt,
}

0 comments on commit aab13de

Please sign in to comment.