mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 05:29:05 +02:00
src/world/layer: make BlockInfo fields public
There were left private by accident.
This commit is contained in:
parent
e6e1f55fe9
commit
26555f1745
3 changed files with 48 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue