fix new system param

This commit is contained in:
Elliott Pierce 2025-06-19 11:30:50 -04:00
parent 6a596cb1e5
commit 5ca8e381db
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,4 @@
use bevy_utils::prelude::DebugName;
use thiserror::Error;
use crate::{
archetype::ArchetypeId,

View File

@ -1661,7 +1661,15 @@ unsafe impl<'a> SystemParam for &'a EntitiesAllocator {
type State = ();
type Item<'w, 's> = &'w EntitiesAllocator;
fn init_state(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State {}
fn init_state(_world: &mut World) -> Self::State {}
fn init_access(
_state: &Self::State,
_system_meta: &mut SystemMeta,
_component_access_set: &mut FilteredAccessSet<ComponentId>,
_world: &mut World,
) {
}
#[inline]
unsafe fn get_param<'w, 's>(