diff --git a/crates/bevy_ecs/src/system/commands.rs b/crates/bevy_ecs/src/system/commands.rs index 90adfb8dc510c..74b69bd2fbd28 100644 --- a/crates/bevy_ecs/src/system/commands.rs +++ b/crates/bevy_ecs/src/system/commands.rs @@ -359,8 +359,8 @@ where #[derive(Debug)] pub struct Remove { - entity: Entity, - phantom: PhantomData, + pub entity: Entity, + pub phantom: PhantomData, } impl Command for Remove