fix rename
This commit is contained in:
parent
ab0856bbf6
commit
71675a3e75
@ -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))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user