diff options
| author | mat <git@matdoes.dev> | 2026-01-15 09:18:28 -0900 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-16 04:14:36 +0930 |
| commit | 914f881dd834aef67755f2e0fd4989253fc9f794 (patch) | |
| tree | 0075816dff58f5458e48d56bd1874cc8c67114fa /azalea/examples | |
| parent | 9c8cf7adea6da1c76d96f447b71345f63146be10 (diff) | |
| download | azalea-drasl-914f881dd834aef67755f2e0fd4989253fc9f794.tar.xz | |
minor pathfinder optimizations and api+doc improvements
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/testbot/commands/movement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot/commands/movement.rs b/azalea/examples/testbot/commands/movement.rs index 209a1c80..06c7ebd1 100644 --- a/azalea/examples/testbot/commands/movement.rs +++ b/azalea/examples/testbot/commands/movement.rs @@ -26,7 +26,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { source.reply("ok"); source .bot - .start_goto(BlockPosGoal(BlockPos::from(position))); + .start_goto(BlockPosGoal(BlockPos::from(position.up(0.5)))); 1 }) .then(literal("xz").then(argument("x", integer()).then( |
