From 74e4f10ec5a44feb6aab4d9befef09a41785bcf4 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 14 Nov 2022 17:18:49 -0800 Subject: [PATCH] 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. --- src/chunk.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/chunk.rs b/src/chunk.rs index 213886f..684bfab 100644 --- a/src/chunk.rs +++ b/src/chunk.rs @@ -575,8 +575,7 @@ impl LoadedChunk { 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