From 71675a3e75a28d7935a6ac97cc1a5610fe259efe Mon Sep 17 00:00:00 2001 From: Elliott Pierce Date: Wed, 9 Jul 2025 11:46:10 -0400 Subject: [PATCH] fix rename --- crates/bevy_ecs/src/world/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index 5c9115bba4..0c1b443361 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -1130,7 +1130,7 @@ impl World { bundle: B, caller: MaybeLocation, ) -> Result, ConstructionError> { - self.entities.is_id_safe_to_construct(entity)?; + self.entities.check_can_construct_entity(entity)?; Ok(self.construct_unchecked(entity, bundle, caller)) } @@ -1182,7 +1182,7 @@ impl World { entity: Entity, caller: MaybeLocation, ) -> Result, ConstructionError> { - self.entities.is_id_safe_to_construct(entity)?; + self.entities.check_can_construct_entity(entity)?; Ok(self.construct_empty_unchecked(entity, caller)) }