From b316e5f0ac1aea66943bc5843466506c410abeed Mon Sep 17 00:00:00 2001 From: xavo95 Date: Sun, 3 Nov 2024 21:38:32 +0100 Subject: [PATCH] Fix --- game-server/src/logic/utils/world_util.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game-server/src/logic/utils/world_util.rs b/game-server/src/logic/utils/world_util.rs index 85a833a..aa9c537 100644 --- a/game-server/src/logic/utils/world_util.rs +++ b/game-server/src/logic/utils/world_util.rs @@ -303,7 +303,6 @@ pub fn add_entities(player: &Player, entities: &[&LevelEntityConfigData]) { for entity in entities { // TODO: review other types - tracing::debug!("Entity to be added of type: {}", entity.blueprint_type); if entity.blueprint_type.contains("Monster") { added_entities.push(build_monster_entity( world, @@ -311,6 +310,8 @@ pub fn add_entities(player: &Player, entities: &[&LevelEntityConfigData]) { entity.map_id, Transform::from(&entity.transform[..]), )); + } else { + tracing::debug!("Unhandled entity to be added of type: {}", entity.blueprint_type); } } }