world/layer: remove unused y coordinate from BlockInfo

This commit is contained in:
Matthias Schiffer 2023-05-05 23:15:34 +02:00
parent 924ee01f91
commit 263fc6d6ce
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C

View file

@ -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<BlockHeight>,
}
@ -66,7 +65,6 @@ impl OptionBlockInfoExt for Option<BlockInfo> {
if self.is_none() {
*self = Some(BlockInfo {
block_type,
y,
depth: None,
});
}