From 9e0bfced2a6df4337b72d7c83fc875eac58fbbda Mon Sep 17 00:00:00 2001 From: DimitriTimoz Date: Sun, 24 Dec 2023 17:39:01 +0100 Subject: [PATCH] set Chunk & ChunkColumn accesible in light.rs --- minecraft-server/src/world/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-server/src/world/map.rs b/minecraft-server/src/world/map.rs index cc00efb5..2c4994c5 100644 --- a/minecraft-server/src/world/map.rs +++ b/minecraft-server/src/world/map.rs @@ -13,7 +13,7 @@ pub struct WorldMap { } #[derive(Clone)] -struct Chunk { +pub(super) struct Chunk { data: NetworkChunk, palette_block_counts: Vec, } @@ -169,7 +169,7 @@ impl Chunk { } } -struct ChunkColumn { +pub(super) struct ChunkColumn { chunks: Vec, }