diff options
| author | mat <github@matdoes.dev> | 2022-06-17 23:55:11 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-06-17 23:55:11 -0500 |
| commit | 614b21129804930159f041ce3f51202bc3e1c0b6 (patch) | |
| tree | 9c78d1f1bb13de5ae91d2ca2092da28c1b8ae6ef /azalea-client/src | |
| parent | f993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e (diff) | |
| download | azalea-drasl-614b21129804930159f041ce3f51202bc3e1c0b6.tar.xz | |
EntityStorage
Diffstat (limited to 'azalea-client/src')
| -rwxr-xr-x | azalea-client/src/connect.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs index 1551ca69..2deaab68 100755 --- a/azalea-client/src/connect.rs +++ b/azalea-client/src/connect.rs @@ -19,7 +19,7 @@ use azalea_protocol::{ }, resolver, ServerAddress, }; -use azalea_world::{ChunkStorage, World}; +use azalea_world::{ChunkStorage, EntityStorage, World}; use std::{fmt::Debug, sync::Arc}; use tokio::sync::mpsc::{self, UnboundedReceiver, UnboundedSender}; use tokio::sync::Mutex; @@ -266,6 +266,7 @@ impl Client { height, min_y, storage: ChunkStorage::new(16), + entities: EntityStorage::new(), }); conn.lock() @@ -356,6 +357,7 @@ impl Client { y: p.y, z: p.z, }; + p.id; } GamePacket::ClientboundSetEntityDataPacket(p) => { // println!("Got set entity data packet {:?}", p); |
