mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-05 17:44:52 +01:00
world/layer: remove unused y coordinate from BlockInfo
This commit is contained in:
parent
924ee01f91
commit
263fc6d6ce
1 changed files with 0 additions and 2 deletions
|
@ -28,7 +28,6 @@ impl BlockHeight {
|
||||||
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
|
||||||
pub struct BlockInfo {
|
pub struct BlockInfo {
|
||||||
pub block_type: BlockType,
|
pub block_type: BlockType,
|
||||||
pub y: BlockHeight,
|
|
||||||
pub depth: Option<BlockHeight>,
|
pub depth: Option<BlockHeight>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +65,6 @@ impl OptionBlockInfoExt for Option<BlockInfo> {
|
||||||
if self.is_none() {
|
if self.is_none() {
|
||||||
*self = Some(BlockInfo {
|
*self = Some(BlockInfo {
|
||||||
block_type,
|
block_type,
|
||||||
y,
|
|
||||||
depth: None,
|
depth: None,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue