diff options
| author | mat <git@matdoes.dev> | 2025-02-16 17:10:04 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-16 17:10:04 +0000 |
| commit | 228489dded720cea566dd0a4638b39cba2aff5ec (patch) | |
| tree | ae4631e3ed42cd13b02bdcd32e81761ca79f4d0c /azalea-protocol/src/packets/game/c_sound_entity.rs | |
| parent | 4fb6b077464e14f816e4c4fe54ff648e8c3d0ede (diff) | |
| download | azalea-drasl-228489dded720cea566dd0a4638b39cba2aff5ec.tar.xz | |
use MinecraftEntityId type instead of u32 in az-protocol
Diffstat (limited to 'azalea-protocol/src/packets/game/c_sound_entity.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/c_sound_entity.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/c_sound_entity.rs b/azalea-protocol/src/packets/game/c_sound_entity.rs index fab30b14..37ce1f16 100755 --- a/azalea-protocol/src/packets/game/c_sound_entity.rs +++ b/azalea-protocol/src/packets/game/c_sound_entity.rs @@ -1,6 +1,7 @@ use azalea_buf::AzBuf; use azalea_protocol_macros::ClientboundGamePacket; use azalea_registry::SoundEvent; +use azalea_world::MinecraftEntityId; use super::c_sound::{CustomSound, SoundSource}; @@ -9,7 +10,7 @@ pub struct ClientboundSoundEntity { pub sound: azalea_registry::Holder<SoundEvent, CustomSound>, pub source: SoundSource, #[var] - pub id: u32, + pub id: MinecraftEntityId, pub volume: f32, pub pitch: f32, pub seed: u64, |
