aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xazalea-client/Cargo.toml2
-rw-r--r--azalea-language/Cargo.toml2
-rwxr-xr-xazalea-protocol/Cargo.toml2
-rwxr-xr-xbot/Cargo.toml2
-rw-r--r--bot/src/main.rs6
5 files changed, 7 insertions, 7 deletions
diff --git a/azalea-client/Cargo.toml b/azalea-client/Cargo.toml
index 9c9ae746..46ea8039 100755
--- a/azalea-client/Cargo.toml
+++ b/azalea-client/Cargo.toml
@@ -13,4 +13,4 @@ azalea-entity = {path = "../azalea-entity"}
azalea-protocol = {path = "../azalea-protocol"}
azalea-world = {path = "../azalea-world"}
owning_ref = "0.4.1"
-tokio = {version = "1.18.0", features = ["sync"]}
+tokio = {version = "1.19.2", features = ["sync"]}
diff --git a/azalea-language/Cargo.toml b/azalea-language/Cargo.toml
index 0e093008..b3f71295 100644
--- a/azalea-language/Cargo.toml
+++ b/azalea-language/Cargo.toml
@@ -9,4 +9,4 @@ version = "0.1.0"
lazy_static = "1.4.0"
serde = "1.0.137"
serde_json = "1.0.81"
-# tokio = {version = "1.18.2", features = ["fs"]}
+# tokio = {version = "^1.19.2", features = ["fs"]}
diff --git a/azalea-protocol/Cargo.toml b/azalea-protocol/Cargo.toml
index 41879b61..f1640a01 100755
--- a/azalea-protocol/Cargo.toml
+++ b/azalea-protocol/Cargo.toml
@@ -23,7 +23,7 @@ packet-macros = {path = "./packet-macros"}
serde = {version = "1.0.130", features = ["serde_derive"]}
serde_json = "^1.0.72"
thiserror = "^1.0.30"
-tokio = {version = "^1.14.0", features = ["io-util", "net", "macros"]}
+tokio = {version = "^1.19.2", features = ["io-util", "net", "macros"]}
tokio-util = "^0.6.9"
trust-dns-resolver = "^0.20.3"
uuid = "^1.1.2"
diff --git a/bot/Cargo.toml b/bot/Cargo.toml
index e55f6c3d..b66e3b75 100755
--- a/bot/Cargo.toml
+++ b/bot/Cargo.toml
@@ -9,4 +9,4 @@ version = "0.1.0"
azalea-client = {path = "../azalea-client"}
azalea-core = {path = "../azalea-core"}
azalea-protocol = {path = "../azalea-protocol"}
-tokio = "^1.14.0"
+tokio = "^1.19.2"
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" {