diff --git a/crates/proto/src/version/v662/packets/add_player.rs b/crates/proto/src/version/v662/packets/add_player.rs index 3929281..1ed5f6a 100644 --- a/crates/proto/src/version/v662/packets/add_player.rs +++ b/crates/proto/src/version/v662/packets/add_player.rs @@ -3,7 +3,7 @@ use bedrockrs_core::{Vec2, Vec3}; use bedrockrs_macros::{gamepacket, ProtoCodec}; use bedrockrs_shared::actor_runtime_id::ActorRuntimeID; use bedrockrs_shared::world::gamemode::Gamemode; -use crate::version::v662::types::ItemStackDescriptor; +use crate::version::v662::types::{ActorMetaData, ItemStackDescriptor}; #[gamepacket(id = 9)] #[derive(ProtoCodec, Debug, Clone)] @@ -22,6 +22,5 @@ pub struct AddPlayerPacket { pub head_yaw: f32, pub carried_item: ItemStackDescriptor, pub gamemode: Gamemode, - pub EntityMetadata: EntityMetadata, - + pub actor_meta_data: ActorMetaData, } diff --git a/crates/proto/src/version/v662/types/actor.rs b/crates/proto/src/version/v662/types/actor.rs deleted file mode 100644 index 903f022..0000000 --- a/crates/proto/src/version/v662/types/actor.rs +++ /dev/null @@ -1,3 +0,0 @@ -pub struct ActorMetaData { - -} diff --git a/crates/proto/src/version/v662/types/actor_metadata.rs b/crates/proto/src/version/v662/types/actor_metadata.rs new file mode 100644 index 0000000..24c6fb7 --- /dev/null +++ b/crates/proto/src/version/v662/types/actor_metadata.rs @@ -0,0 +1,6 @@ +use bedrockrs_macros::ProtoCodec; + +#[derive(ProtoCodec, Debug, Clone)] +pub struct ActorMetaData { + +} diff --git a/crates/proto/src/version/v662/types/mod.rs b/crates/proto/src/version/v662/types/mod.rs index c0391cf..7b95846 100644 --- a/crates/proto/src/version/v662/types/mod.rs +++ b/crates/proto/src/version/v662/types/mod.rs @@ -1,5 +1,3 @@ -mod actor; - macro_rules! export { ($name:ident) => { mod $name; @@ -10,3 +8,4 @@ macro_rules! export { export!(connection_request); export!(experiment); export!(item); +export!(actor_metadata);