mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add content issues (WIP)
This commit is contained in:
parent
3dda512468
commit
c1ef4dbe9f
6 changed files with 78 additions and 30 deletions
|
|
@ -109,6 +109,7 @@ static void write_indices(
|
|||
|
||||
void WorldFiles::writeIndices(const ContentIndices* indices) {
|
||||
dynamic::Map root;
|
||||
root.put("region-version", REGION_FORMAT_VERSION);
|
||||
write_indices(indices->blocks, root.putList("blocks"));
|
||||
write_indices(indices->items, root.putList("items"));
|
||||
write_indices(indices->entities, root.putList("entities"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue