aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot/commands/debug.rs2
-rw-r--r--azalea/examples/testbot/main.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs
index b98d737f..d80ee3be 100644
--- a/azalea/examples/testbot/commands/debug.rs
+++ b/azalea/examples/testbot/commands/debug.rs
@@ -58,7 +58,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) {
};
let entity_id = source.bot.entity_component::<MinecraftEntityId>(entity);
source.reply(format!(
- "Your Minecraft ID is {} and your ECS id is {entity:?}",
+ "Your Minecraft ID is {} and your ECS ID is {entity:?}",
*entity_id
));
1
diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs
index 249f7b92..b4ef20ba 100644
--- a/azalea/examples/testbot/main.rs
+++ b/azalea/examples/testbot/main.rs
@@ -127,8 +127,7 @@ async fn handle(bot: Client, event: azalea::Event, state: State) -> anyhow::Resu
bot.set_client_information(ClientInformation {
view_distance: 32,
..Default::default()
- })
- .await;
+ });
if swarm.args.pathfinder_debug_particles {
bot.ecs
.lock()