diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/s_interact.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/s_interact.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/s_interact.rs b/azalea-protocol/src/packets/game/s_interact.rs index 89fc896f..a3007749 100644 --- a/azalea-protocol/src/packets/game/s_interact.rs +++ b/azalea-protocol/src/packets/game/s_interact.rs @@ -80,8 +80,9 @@ impl AzaleaRead for ActionType { } } -#[derive(AzBuf, Clone, Copy, Debug)] +#[derive(AzBuf, Clone, Copy, Debug, Default)] pub enum InteractionHand { + #[default] MainHand = 0, OffHand = 1, } |
