From ab0856bbf61e8b2e67947d0584f0642482f2dde8 Mon Sep 17 00:00:00 2001 From: Eagster <79881080+ElliottjPierce@users.noreply.github.com> Date: Wed, 9 Jul 2025 10:44:06 -0400 Subject: [PATCH] Update crates/bevy_ecs/src/entity/mod.rs --- crates/bevy_ecs/src/entity/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/entity/mod.rs b/crates/bevy_ecs/src/entity/mod.rs index 9277e6d818..a8445fed68 100644 --- a/crates/bevy_ecs/src/entity/mod.rs +++ b/crates/bevy_ecs/src/entity/mod.rs @@ -1033,7 +1033,7 @@ impl Entities { /// This can error if the entity does not exist or if it is already constructed. /// See the module docs for a more precise explanation of which entities exist and what construction means. #[inline] - pub fn is_id_safe_to_construct(&self, entity: Entity) -> Result<(), ConstructionError> { + pub fn check_can_construct_entity(&self, entity: Entity) -> Result<(), ConstructionError> { match self.get(entity) { Ok(Some(_)) => Err(ConstructionError::AlreadyConstructed), Ok(None) => Ok(()),