aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples/testbot
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-12 23:01:54 +0300
committermat <git@matdoes.dev>2025-10-12 23:01:54 +0300
commitee2575794e91b9457a74a95daf1dcc707058cd58 (patch)
treedf725850ef18ded5ce3f6552e17095d0f704ae84 /azalea/examples/testbot
parent1a1402954b07cd77615d0afc026c73b008787f51 (diff)
downloadazalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea/examples/testbot')
-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()