update blocks data lifetime

This commit is contained in:
MihailRis
2024-09-30 21:33:19 +03:00
parent 4f559c1086
commit e84c79839c
2 changed files with 2 additions and 5 deletions
-3
View File
@@ -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;