Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCrumpLeys committed Sep 13, 2023
1 parent 6eba927 commit ff10efe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
10 changes: 0 additions & 10 deletions crates/valence_command/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ impl Plugin for CommandPlugin {
fn build(&self, app: &mut App) {
app.add_event::<CommandExecutionEvent>()
.add_event::<CommandProcessedEvent>();
// .add_systems(PreUpdate, insert_scope_component.after(SpawnClientsSet))
// .add_systems(
// EventLoopPreUpdate,
// (
// update_command_tree,
// command_tree_update_with_client,
// // read_incoming_packets.before(CommandSystemSet),
// parse_incoming_commands.in_set(CommandSystemSet),
// ),
// );

#[cfg(feature = "valence")]
app.add_systems(PreUpdate, insert_scope_component.after(SpawnClientsSet))
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion crates/valence_command/src/parsers/entity_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ impl CommandArg for EntitySelector {
))
}
}
if input.peek() != Some('[') { // if there's no complex selector, we're done
if input.peek() != Some('[') {
// if there's no complex selector, we're done
return Ok(EntitySelector::SimpleSelector(simple_selector.unwrap()));
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_command/src/parsers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub mod angle;
pub mod block_pos;
pub mod bool;
#[cfg(feature = "valence")]
pub mod colour;
pub mod color;
pub mod column_pos;
pub mod entity_anchor;
pub mod entity_selector;
Expand Down

0 comments on commit ff10efe

Please sign in to comment.