From e84893b07a65ebca8d4027b386d3dfd87bcfd009 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 19 Jun 2022 13:42:01 -0500 Subject: Fix issues with entity pos conversion to block pos --- bot/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot') diff --git a/bot/src/main.rs b/bot/src/main.rs index 10283e90..e8ff5f95 100644 --- a/bot/src/main.rs +++ b/bot/src/main.rs @@ -5,7 +5,7 @@ async fn main() -> Result<(), Box> { println!("Hello, world!"); // let address = "95.111.249.143:10000"; - let address = "localhost:52909"; + let address = "localhost:61146"; // let response = azalea_client::ping::ping_server(&address.try_into().unwrap()) // .await // .unwrap(); @@ -22,7 +22,7 @@ async fn main() -> Result<(), Box> { Event::Chat(_p) => { let state = client.state.lock().unwrap(); let world = state.world.as_ref().unwrap(); - println!("{:?}", world); + println!("{:#?}", world); // 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