From 6545ddb020e756327e02d7f31fdb6a5f62f6107e Mon Sep 17 00:00:00 2001 From: eihqnh <40905037+eihqnh@users.noreply.github.com> Date: Thu, 2 Oct 2025 21:25:51 +0800 Subject: fix(protocol): update 1.21.9 ClientboundSetDefaultSpawnPosition fields (#256) --- azalea-protocol/src/packets/game/c_set_default_spawn_position.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'azalea-protocol/src') diff --git a/azalea-protocol/src/packets/game/c_set_default_spawn_position.rs b/azalea-protocol/src/packets/game/c_set_default_spawn_position.rs index fd487b10..429030ef 100644 --- a/azalea-protocol/src/packets/game/c_set_default_spawn_position.rs +++ b/azalea-protocol/src/packets/game/c_set_default_spawn_position.rs @@ -1,9 +1,10 @@ use azalea_buf::AzBuf; -use azalea_core::position::BlockPos; +use azalea_core::position::GlobalPos; use azalea_protocol_macros::ClientboundGamePacket; #[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)] pub struct ClientboundSetDefaultSpawnPosition { - pub pos: BlockPos, - pub angle: f32, + pub global_pos: GlobalPos, + pub yaw: f32, + pub pitch: f32, } -- cgit v1.2.3