diff options
| author | mat <git@matdoes.dev> | 2025-05-09 15:00:12 -1200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-09 15:00:12 -1200 |
| commit | 6a5a88700c3f649fab1abc4a51f6fac9281db874 (patch) | |
| tree | bed73430ba622df59b926f173e35c1d0a7683c60 /azalea/examples | |
| parent | e1d3b902ba08170e4ee82c53f216445f57fbc47e (diff) | |
| download | azalea-drasl-6a5a88700c3f649fab1abc4a51f6fac9281db874.tar.xz | |
fix offline-mode cert warnings and improve some docs
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/testbot/commands/debug.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs index 0bac22d4..075348b2 100644 --- a/azalea/examples/testbot/commands/debug.rs +++ b/azalea/examples/testbot/commands/debug.rs @@ -102,7 +102,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { commands.register(literal("lookingat").executes(|ctx: &Ctx| { let source = ctx.source.lock(); - let hit_result = *source.bot.component::<HitResultComponent>(); + let hit_result = source.bot.component::<HitResultComponent>(); let Some(hit_result) = hit_result.as_block_hit_result_if_not_miss() else { source.reply("I'm not looking at anything"); |
