diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-12-11 21:00:37 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-11 21:00:37 -0600 |
| commit | ff1e28f88e93ba83cf76569b5613445b841efd45 (patch) | |
| tree | 2dc6a20bbd0fa3d038fe0e655d1cf96f0e3bb838 /azalea/examples/steal.rs | |
| parent | 9bfb1705afb8a48ceace712bc4ee8c0b4d507f49 (diff) | |
| download | azalea-drasl-ff1e28f88e93ba83cf76569b5613445b841efd45.tar.xz | |
Run handler function in a Tokio LocalSet (#295)
* Run handler function in a Tokio LocalSet
* remove tokio flavor=current_thread from examples
* update changelog
Diffstat (limited to 'azalea/examples/steal.rs')
| -rw-r--r-- | azalea/examples/steal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/steal.rs b/azalea/examples/steal.rs index 87a1561b..899c2568 100644 --- a/azalea/examples/steal.rs +++ b/azalea/examples/steal.rs @@ -6,7 +6,7 @@ use azalea::{BlockPos, pathfinder::goals::RadiusGoal, prelude::*}; use azalea_inventory::{ItemStack, operations::QuickMoveClick}; use parking_lot::Mutex; -#[tokio::main(flavor = "current_thread")] +#[tokio::main] async fn main() { let account = Account::offline("bot"); // or let bot = Account::microsoft("email").await.unwrap(); |
