mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +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)]
|
||||
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,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue