diff options
| author | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
| commit | ee2575794e91b9457a74a95daf1dcc707058cd58 (patch) | |
| tree | df725850ef18ded5ce3f6552e17095d0f704ae84 /azalea/examples/testbot | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-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.rs | 2 | ||||
| -rw-r--r-- | azalea/examples/testbot/main.rs | 3 |
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() |
