mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 10:25:06 -04:00
section: track size of block entities
This fixes never ticking block entities
This commit is contained in:
parent
b8140dbe4e
commit
8c61605c88
@ -35,7 +35,7 @@ class ChunkSection(
|
||||
val sectionHeight: Int,
|
||||
var blocks: BlockSectionDataProvider = BlockSectionDataProvider(),
|
||||
var biomes: SectionDataProvider<Biome> = SectionDataProvider(checkSize = false),
|
||||
var blockEntities: SectionDataProvider<BlockEntity?> = SectionDataProvider(checkSize = false),
|
||||
var blockEntities: SectionDataProvider<BlockEntity?> = SectionDataProvider(checkSize = true),
|
||||
chunk: Chunk? = null
|
||||
) {
|
||||
val chunk: Chunk = chunk ?: unsafeNull()
|
||||
|
Loading…
x
Reference in New Issue
Block a user