diff --git a/src/subsystems/entity_subsystem/entities.rs b/src/subsystems/entity_subsystem/entities.rs index 110b4f7..da1495e 100644 --- a/src/subsystems/entity_subsystem/entities.rs +++ b/src/subsystems/entity_subsystem/entities.rs @@ -353,6 +353,10 @@ impl Entity { self.entity.pos() } + pub fn etype(&self) -> proto::ProtEntityType { + self.entity.etype() + } + pub fn convert(&self, world_level: u32, jm: &Arc, db: &Arc) -> proto::SceneEntityInfo { let mut sei = build!(SceneEntityInfo { entity_id: self.entity_id,