mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add generator layers
This commit is contained in:
parent
30925df319
commit
2a767a3638
7 changed files with 125 additions and 14 deletions
|
|
@ -473,7 +473,11 @@ void ContentLoader::load() {
|
|||
|
||||
auto& def = builder.generators.create(full);
|
||||
|
||||
loadGenerator(def, full, name);
|
||||
try {
|
||||
loadGenerator(def, full, name);
|
||||
} catch (const std::runtime_error& err) {
|
||||
throw std::runtime_error("generator '"+full+"': "+err.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue