aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-02 23:07:06 +0000
committermat <github@matdoes.dev>2022-05-02 23:07:06 +0000
commit8e42e1c5dfc54314585b564696044780e0407c2f (patch)
tree6527645ffbe05cb37716b00e2be9fc48d956a12b /azalea-client/src
parent1e2ec611003770ce889d69545604f164e2ea8fff (diff)
downloadazalea-drasl-8e42e1c5dfc54314585b564696044780e0407c2f.tar.xz
more chunk and readme stuff
Diffstat (limited to 'azalea-client/src')
-rwxr-xr-xazalea-client/src/connect.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index b628051a..be268eee 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -13,6 +13,7 @@ use azalea_protocol::{
},
resolver, ServerAddress,
};
+use azalea_world::Chunk;
use std::sync::Arc;
use tokio::sync::mpsc::{self, UnboundedReceiver, UnboundedSender};
use tokio::sync::Mutex;
@@ -233,7 +234,7 @@ impl Client {
}
GamePacket::ClientboundLevelChunkWithLightPacket(p) => {
println!("Got chunk with light packet {} {}", p.x, p.z);
- // p.chunk_data
+ // let chunk = Chunk::read_with_world_height(&mut p.chunk_data);
}
GamePacket::ClientboundLightUpdatePacket(p) => {
println!("Got light update packet {:?}", p);