aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authoreihqnh <40905037+eihqnh@users.noreply.github.com>2025-10-02 21:25:51 +0800
committerGitHub <noreply@github.com>2025-10-02 08:25:51 -0500
commit6545ddb020e756327e02d7f31fdb6a5f62f6107e (patch)
treecebe26426c745250bda3d9e937c06eb63e76486e /azalea-protocol/src
parent643fcb98c0e6cdc63218dd39960d9053b209d9a6 (diff)
downloadazalea-drasl-6545ddb020e756327e02d7f31fdb6a5f62f6107e.tar.xz
fix(protocol): update 1.21.9 ClientboundSetDefaultSpawnPosition fields (#256)
Diffstat (limited to 'azalea-protocol/src')
-rw-r--r--azalea-protocol/src/packets/game/c_set_default_spawn_position.rs7
1 files changed, 4 insertions, 3 deletions
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,
}