diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs b/azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs index ad382fe0..c7448800 100755 --- a/azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_sound_entity_packet.rs @@ -1,10 +1,11 @@ use super::clientbound_sound_packet::SoundSource; use azalea_buf::McBuf; use azalea_protocol_macros::ClientboundGamePacket; +use azalea_registry::OptionalRegistry; #[derive(Clone, Debug, McBuf, ClientboundGamePacket)] pub struct ClientboundSoundEntityPacket { - pub sound: azalea_registry::SoundEvent, + pub sound: OptionalRegistry<azalea_registry::SoundEvent>, pub source: SoundSource, #[var] pub id: u32, |
