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:
Ryan 2022-11-14 17:18:49 -08:00
parent 21590a396c
commit 74e4f10ec5

View file

@ -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