mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'main' into physics-upgrade
This commit is contained in:
commit
3cd6ce1df2
13 changed files with 93 additions and 26 deletions
|
|
@ -183,7 +183,7 @@ void WorldRegions::put(Chunk* chunk, std::vector<ubyte> entitiesData) {
|
|||
LIGHTMAP_DATA_LEN);
|
||||
}
|
||||
// Writing block inventories
|
||||
if (!chunk->inventories.empty()) {
|
||||
if (!chunk->inventories.empty() || chunk->flags.inventoriesRemoved) {
|
||||
uint datasize;
|
||||
auto data = write_inventories(chunk->inventories, datasize);
|
||||
put(chunk->x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue