diff options
| author | mat <git@matdoes.dev> | 2025-04-04 13:48:48 -0845 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-04 13:48:48 -0845 |
| commit | adf8a604c400c19df8e28d6345abf2c0a8c32d05 (patch) | |
| tree | 8e331a3580756dbd5f7336e9d691f26de93d168b /azalea | |
| parent | efc28db6cfa3cf45561610dcba9b2819553aa025 (diff) | |
| download | azalea-drasl-adf8a604c400c19df8e28d6345abf2c0a8c32d05.tar.xz | |
fix ordering for handle_attack_queued
Diffstat (limited to 'azalea')
| -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 114c3c31..a400809b 100644 --- a/azalea/examples/testbot/commands/movement.rs +++ b/azalea/examples/testbot/commands/movement.rs @@ -77,7 +77,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { commands.register(literal("down").executes(|ctx: &Ctx| { let source = ctx.source.clone(); tokio::spawn(async move { - let mut bot = source.lock().bot.clone(); + let bot = source.lock().bot.clone(); let position = BlockPos::from(bot.position()); source.lock().reply("mining..."); bot.mine(position.down(1)).await; |
