mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix: block inventory not removing in some cases
This commit is contained in:
parent
413038dadc
commit
e4d21c940b
3 changed files with 5 additions and 3 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