diff options
| author | mat <github@matdoes.dev> | 2022-09-05 11:44:48 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-09-05 11:44:48 -0500 |
| commit | fcb5bdf04241082d08b1ecc083745d6d97af61a9 (patch) | |
| tree | b41a76923e299dc60802d676a319c85f9c76858c /azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs | |
| parent | 4301a2f2d4c711fd50a54cf065079c42b89a72f2 (diff) | |
| download | azalea-drasl-fcb5bdf04241082d08b1ecc083745d6d97af61a9.tar.xz | |
use az-registry in az-protocol
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs b/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs index 403925f4..f74a8746 100644 --- a/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs @@ -10,9 +10,7 @@ pub struct ClientboundAddEntityPacket { #[var] pub id: u32, pub uuid: Uuid, - // TODO: have an entity type enum/struct - #[var] - pub entity_type: i32, + pub entity_type: azalea_registry::EntityType, pub x: f64, pub y: f64, pub z: f64, |
