mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
Don't send empty MOTION_BLOCKING heightmap
The client seems to initialize it to zero when you don't send it, so there's no point in sending an empty motion_blocking.
This commit is contained in:
parent
21590a396c
commit
74e4f10ec5
|
@ -575,8 +575,7 @@ impl<C: Config> LoadedChunk<C> {
|
|||
chunk_x: pos.x,
|
||||
chunk_z: pos.z,
|
||||
heightmaps: compound! {
|
||||
// TODO: placeholder heightmap.
|
||||
"MOTION_BLOCKING" => vec![0_i64; 37],
|
||||
// TODO: MOTION_BLOCKING heightmap
|
||||
},
|
||||
blocks_and_biomes: scratch,
|
||||
block_entities: vec![], // TODO
|
||||
|
|
Loading…
Reference in a new issue