mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add dv::merge & update EnginePaths::readCombinedObject
This commit is contained in:
parent
12105c2933
commit
84d5b5d1a8
5 changed files with 52 additions and 6 deletions
|
|
@ -241,7 +241,7 @@ void ContentLoader::loadGenerator(
|
|||
load_structures(def, structuresMap, structuresFile.parent(), paths);
|
||||
|
||||
auto biomesFile = GENERATORS_DIR / (name + ".files") / BIOMES_FILE;
|
||||
auto biomesMap = paths.readCombinedObject(biomesFile.string());
|
||||
auto biomesMap = paths.readCombinedObject(biomesFile.string(), true);
|
||||
if (biomesMap.empty()) {
|
||||
throw std::runtime_error(
|
||||
"generator " + util::quote(def.name) +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue