diff options
| author | EightFactorial <29801334+EightFactorial@users.noreply.github.com> | 2025-12-07 11:44:47 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-07 13:44:47 -0600 |
| commit | ef948bf46ffd97e47f2c9c4698fddf752f1273b1 (patch) | |
| tree | 219f1b8601563f3103c550d717db48e5eb514b29 /azalea-protocol/src/packets | |
| parent | ce1656e3768af75105ecf5b9f3d57be98453dd32 (diff) | |
| download | azalea-drasl-ef948bf46ffd97e47f2c9c4698fddf752f1273b1.tar.xz | |
Use MinecraftEntityId in ClientboundSetPassengers packet (#291)
Diffstat (limited to 'azalea-protocol/src/packets')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_set_passengers.rs | 5 |
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>, } |
