fix rename

This commit is contained in:
Elliott Pierce 2025-07-09 11:46:10 -04:00
parent ab0856bbf6
commit 71675a3e75

View File

@ -1130,7 +1130,7 @@ impl World {
bundle: B,
caller: MaybeLocation,
) -> Result<EntityWorldMut<'_>, 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<EntityWorldMut<'_>, ConstructionError> {
self.entities.is_id_safe_to_construct(entity)?;
self.entities.check_can_construct_entity(entity)?;
Ok(self.construct_empty_unchecked(entity, caller))
}