aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
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
}));