aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-08-12 10:47:33 +1000
committermat <git@matdoes.dev>2025-08-12 07:47:38 +0700
commit29c32c9ba89d60b5b0e415eaab58b947080655c5 (patch)
treece7a6291aa83409f86037f264c7053450ce6dd1d /azalea/examples
parent7d9dee7a4dcf7e2b41bee37d2aebaa6ef48a5ba2 (diff)
downloadazalea-drasl-29c32c9ba89d60b5b0e415eaab58b947080655c5.tar.xz
fix rotations flagging anticheats
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot/commands/debug.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs
index 92a5b92e..46f1ed33 100644
--- a/azalea/examples/testbot/commands/debug.rs
+++ b/azalea/examples/testbot/commands/debug.rs
@@ -90,7 +90,8 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) {
let direction = source.bot.component::<LookDirection>();
source.reply(format!(
"I'm looking at {}, {}",
- direction.y_rot, direction.x_rot
+ direction.y_rot(),
+ direction.x_rot()
));
1
}));