diff --git a/README.md b/README.md index 1afc7e2..859e875 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Spleef -Spleef made with Valence. That's all it is. \ No newline at end of file +Spleef made with Valence. That's all it is. \ No newline at end of file diff --git a/src/commands/game.rs b/src/commands/game.rs index 0042603..d208b67 100644 --- a/src/commands/game.rs +++ b/src/commands/game.rs @@ -9,7 +9,7 @@ pub fn run( client: &mut Client, uuid: Uuid, next_state: &mut ResMut>, - state: &Res> + state: &Res>, ) { if CONFIG.operators.contains(&uuid) { if let Some(args) = command.args { @@ -28,6 +28,10 @@ pub fn run( )); } } else { - client.send_message("You do not have the permission to execute this command."); + client.send_message( + "You do not have the permission to execute this command." + .bold() + .color(Color::RED), + ); } } diff --git a/src/commands/mod.rs b/src/commands/mod.rs index 0738fbd..2d4d692 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -32,7 +32,7 @@ pub fn command_executor( uuids: Query<&UniqueId, With>, mut events: EventReader, mut next_state: ResMut>, - state: Res> + state: Res>, ) { for event in events.iter() { let cmd = Command::parse(event.command.to_string());