diff options
| author | mat <github@matdoes.dev> | 2022-06-19 22:12:19 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-06-19 22:12:19 -0500 |
| commit | 438d633b83dde37e3d3564706da466963a8bc999 (patch) | |
| tree | 96810c35b22ddcadaf5a49397e0f15f8b588f6ef /bot/src | |
| parent | c9a070f711a6fdaf505f522cb8809749c9190e38 (diff) | |
| download | azalea-drasl-438d633b83dde37e3d3564706da466963a8bc999.tar.xz | |
Bump tokio
Diffstat (limited to 'bot/src')
| -rw-r--r-- | bot/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<dyn std::error::Error>> { 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<dyn std::error::Error>> { 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) == "<py5> ok" { |
