diff options
| author | mat <github@matdoes.dev> | 2022-07-06 19:15:33 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-07-06 19:15:33 -0500 |
| commit | 017651358d8aeefdadc0f3973f1fe4f394e9b14d (patch) | |
| tree | 5f5ba11ddca864e00b3357c898d97342720b4fe1 /azalea-protocol | |
| parent | 2d7056b3d45ae1b0317b6bcb42e2444dedd72bf4 (diff) | |
| download | azalea-drasl-017651358d8aeefdadc0f3973f1fe4f394e9b14d.tar.xz | |
It compiles
Diffstat (limited to 'azalea-protocol')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_custom_chat_completions_packet.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_move_entity_posrot_packet.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_custom_chat_completions_packet.rs b/azalea-protocol/src/packets/game/clientbound_custom_chat_completions_packet.rs index 94c90039..06a641f1 100644 --- a/azalea-protocol/src/packets/game/clientbound_custom_chat_completions_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_custom_chat_completions_packet.rs @@ -7,7 +7,7 @@ pub struct ClientboundCustomChatCompletionsPacket { pub entries: Vec<String>, } -#[derive(Clone, Debug, McBuf)] +#[derive(Clone, Debug, McBuf, Copy)] pub enum Action { Add = 0, Remove = 1, diff --git a/azalea-protocol/src/packets/game/clientbound_move_entity_posrot_packet.rs b/azalea-protocol/src/packets/game/clientbound_move_entity_posrot_packet.rs index e3422ac0..3dbfaff6 100644 --- a/azalea-protocol/src/packets/game/clientbound_move_entity_posrot_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_move_entity_posrot_packet.rs @@ -4,7 +4,7 @@ use packet_macros::GamePacket; /// This packet is sent by the server when an entity moves less then 8 blocks. #[derive(Clone, Debug, McBuf, GamePacket)] -pub struct ClientboundMoveEntityPosRotPacket { +pub struct ClientboundMoveEntityPosrotPacket { #[var] pub entity_id: u32, pub delta: PositionDelta8, |
