From 438d633b83dde37e3d3564706da466963a8bc999 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 19 Jun 2022 22:12:19 -0500 Subject: Bump tokio --- bot/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bot/src') diff --git a/bot/src/main.rs b/bot/src/main.rs index f0f915f9..2c2bee32 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -6,7 +6,7 @@ async fn main() -> Result<(), Box> { println!("Hello, world!"); // let address = "95.111.249.143:10000"; - let address = "localhost:61146"; + let address = "localhost:59021"; // let response = azalea_client::ping::ping_server(&address.try_into().unwrap()) // .await // .unwrap(); @@ -22,10 +22,10 @@ async fn main() -> Result<(), Box> { Event::Login => {} Event::Chat(_p) => { let world = client.world(); - world.get_block_state(&BlockPos::new(0, 0, 0)).unwrap(); + let b = world.get_block_state(&BlockPos::new(0, 0, 0)).unwrap(); // let world = state.world.as_ref().unwrap(); // world. - // println!("{:#?}", world); + println!("{:?}", b); // world.get_block_state(state.player.entity.pos); // println!("{}", p.message.to_ansi(None)); // if p.message.to_ansi(None) == " ok" { -- cgit v1.2.3