mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
gcc warning fix
This commit is contained in:
parent
c561466f64
commit
83e7cedffe
4 changed files with 7 additions and 8 deletions
|
|
@ -380,8 +380,9 @@ void WorldRegions::put(Chunk* chunk){
|
|||
// Writing block inventories
|
||||
if (!chunk->inventories.empty()){
|
||||
uint datasize;
|
||||
auto data = write_inventories(chunk, datasize);
|
||||
put(chunk->x, chunk->z, REGION_LAYER_INVENTORIES,
|
||||
write_inventories(chunk, datasize), datasize, false);
|
||||
std::move(data), datasize, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue