diff options
| author | Ubuntu <github@matdoes.dev> | 2023-02-10 18:06:18 +0000 |
|---|---|---|
| committer | Ubuntu <github@matdoes.dev> | 2023-02-10 18:06:18 +0000 |
| commit | f5ae1b97171473c3c2db99d92062a18a8313541e (patch) | |
| tree | 11f90f40a7894a4c569741b2cc77d0707449f64d /azalea/examples | |
| parent | 7e43e6d24a106fc9b1894a170db16b4f21ff8dad (diff) | |
| download | azalea-drasl-f5ae1b97171473c3c2db99d92062a18a8313541e.tar.xz | |
fix and improve examples in docs
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/testbot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index 3fe86fa6..af236dc4 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -6,7 +6,7 @@ use azalea::ecs::query::With; use azalea::entity::metadata::Player; use azalea::entity::Position; use azalea::pathfinder::BlockPosGoal; -use azalea::{prelude::*, BlockPos, GameProfileComponent, Swarm, SwarmEvent, WalkDirection}; +use azalea::{prelude::*, swarm::prelude::*, BlockPos, GameProfileComponent, WalkDirection}; use azalea::{Account, Client, Event}; use azalea_protocol::packets::game::serverbound_client_command_packet::ServerboundClientCommandPacket; use std::time::Duration; |
