From f5ae1b97171473c3c2db99d92062a18a8313541e Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 10 Feb 2023 18:06:18 +0000 Subject: fix and improve examples in docs --- azalea/examples/testbot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/examples') 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; -- cgit v1.2.3