diff options
Diffstat (limited to 'azalea/examples/testbot')
| -rw-r--r-- | azalea/examples/testbot/commands.rs | 10 | ||||
| -rw-r--r-- | azalea/examples/testbot/main.rs | 14 |
2 files changed, 9 insertions, 15 deletions
diff --git a/azalea/examples/testbot/commands.rs b/azalea/examples/testbot/commands.rs index 4e261e17..da6b7cc2 100644 --- a/azalea/examples/testbot/commands.rs +++ b/azalea/examples/testbot/commands.rs @@ -2,12 +2,10 @@ pub mod combat; pub mod debug; pub mod movement; -use azalea::Client; -use azalea::GameProfileComponent; -use azalea::brigadier::prelude::*; -use azalea::chat::ChatPacket; -use azalea::ecs::prelude::*; -use azalea::entity::metadata::Player; +use azalea::{ + Client, GameProfileComponent, brigadier::prelude::*, chat::ChatPacket, ecs::prelude::*, + entity::metadata::Player, +}; use parking_lot::Mutex; use crate::State; diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 1aa9485d..8a35a281 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -25,16 +25,12 @@ mod commands; pub mod killaura; -use std::time::Duration; -use std::{env, process}; -use std::{sync::Arc, thread}; +use std::{env, process, sync::Arc, thread, time::Duration}; -use azalea::ClientInformation; -use azalea::brigadier::command_dispatcher::CommandDispatcher; -use azalea::ecs::prelude::*; -use azalea::pathfinder::debug::PathfinderDebugParticles; -use azalea::prelude::*; -use azalea::swarm::prelude::*; +use azalea::{ + ClientInformation, brigadier::command_dispatcher::CommandDispatcher, ecs::prelude::*, + pathfinder::debug::PathfinderDebugParticles, prelude::*, swarm::prelude::*, +}; use commands::{CommandSource, register_commands}; use parking_lot::Mutex; |
