mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add generator layers
This commit is contained in:
parent
30925df319
commit
2a767a3638
7 changed files with 125 additions and 14 deletions
|
|
@ -88,5 +88,9 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
def->rt.placingBlock = content->blocks.require(def->placingBlock).rt.id;
|
||||
}
|
||||
|
||||
for (auto& [name, def] : content->generators.getDefs()) {
|
||||
def->script->prepare(content.get());
|
||||
}
|
||||
|
||||
return content;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue