aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authorEightFactorial <29801334+EightFactorial@users.noreply.github.com>2025-12-07 11:44:47 -0800
committerGitHub <noreply@github.com>2025-12-07 13:44:47 -0600
commitef948bf46ffd97e47f2c9c4698fddf752f1273b1 (patch)
tree219f1b8601563f3103c550d717db48e5eb514b29 /azalea-protocol/src
parentce1656e3768af75105ecf5b9f3d57be98453dd32 (diff)
downloadazalea-drasl-ef948bf46ffd97e47f2c9c4698fddf752f1273b1.tar.xz
Use MinecraftEntityId in ClientboundSetPassengers packet (#291)
Diffstat (limited to 'azalea-protocol/src')
-rw-r--r--azalea-protocol/src/packets/game/c_set_passengers.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_set_passengers.rs b/azalea-protocol/src/packets/game/c_set_passengers.rs
index a6806024..ad2ffe17 100644
--- a/azalea-protocol/src/packets/game/c_set_passengers.rs
+++ b/azalea-protocol/src/packets/game/c_set_passengers.rs
@@ -1,10 +1,11 @@
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;
+use azalea_world::MinecraftEntityId;
#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
pub struct ClientboundSetPassengers {
#[var]
- pub vehicle: u32,
+ pub vehicle: MinecraftEntityId,
#[var]
- pub passengers: Vec<u32>,
+ pub passengers: Vec<MinecraftEntityId>,
}