aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-05-09 15:00:12 -1200
committermat <git@matdoes.dev>2025-05-09 15:00:12 -1200
commit6a5a88700c3f649fab1abc4a51f6fac9281db874 (patch)
treebed73430ba622df59b926f173e35c1d0a7683c60 /azalea/examples
parente1d3b902ba08170e4ee82c53f216445f57fbc47e (diff)
downloadazalea-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.rs2
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");