mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
update blocks data lifetime
This commit is contained in:
parent
4f559c1086
commit
e84c79839c
2 changed files with 2 additions and 5 deletions
|
|
@ -394,9 +394,6 @@ void Chunks::set(
|
|||
if (!state.segment && newdef.rt.extended) {
|
||||
repairSegments(newdef, state, gx, y, gz);
|
||||
}
|
||||
if (newdef.dataStruct) {
|
||||
chunk->blocksMetadata.allocate(index, newdef.dataStruct->size());
|
||||
}
|
||||
|
||||
if (y < chunk->bottom)
|
||||
chunk->bottom = y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue