mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
update ContentUnitIndices
This commit is contained in:
parent
55e4e6de02
commit
c3c343ffdb
9 changed files with 38 additions and 26 deletions
|
|
@ -70,7 +70,7 @@ void GlobalChunks::erase(int x, int z) {
|
|||
static inline auto load_inventories(
|
||||
WorldRegions& regions,
|
||||
const Chunk& chunk,
|
||||
const ContentUnitIndices<Block>& defs
|
||||
const ContentUnitIndices<Block, blockid_t>& defs
|
||||
) {
|
||||
auto invs = regions.fetchInventories(chunk.x, chunk.z);
|
||||
auto iterator = invs.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue