From 263fc6d6ced81836d84493ad60807198a05d609c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 5 May 2023 23:15:34 +0200 Subject: [PATCH] world/layer: remove unused y coordinate from BlockInfo --- src/world/layer.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/world/layer.rs b/src/world/layer.rs index 89cff41..4365e1f 100644 --- a/src/world/layer.rs +++ b/src/world/layer.rs @@ -28,7 +28,6 @@ impl BlockHeight { #[derive(Debug, Clone, Copy, Serialize, Deserialize)] pub struct BlockInfo { pub block_type: BlockType, - pub y: BlockHeight, pub depth: Option, } @@ -66,7 +65,6 @@ impl OptionBlockInfoExt for Option { if self.is_none() { *self = Some(BlockInfo { block_type, - y, depth: None, }); }