src/world/layer: make BlockInfo fields public

There were left private by accident.
This commit is contained in:
Matthias Schiffer 2023-03-03 20:35:43 +01:00
parent e6e1f55fe9
commit 26555f1745
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
3 changed files with 48 additions and 3 deletions

View file

@ -27,9 +27,9 @@ impl BlockHeight {
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct BlockInfo {
block_type: BlockType,
y: BlockHeight,
depth: Option<BlockHeight>,
pub block_type: BlockType,
pub y: BlockHeight,
pub depth: Option<BlockHeight>,
}
/// Helper methods for [BlockInfo]