mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'player-entity' to defaults.toml
This commit is contained in:
parent
f0c7bc6377
commit
3430e5cd6f
10 changed files with 34 additions and 11 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include "data/dv_util.hpp"
|
||||
#include "data/StructLayout.hpp"
|
||||
#include "presets/ParticlesPreset.hpp"
|
||||
#include "io/engine_paths.hpp"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
using namespace data;
|
||||
|
|
@ -760,6 +761,10 @@ void ContentLoader::load() {
|
|||
|
||||
auto folder = pack->folder;
|
||||
|
||||
builder.defaults = paths.readCombinedObject(
|
||||
EnginePaths::CONFIG_DEFAULTS.string()
|
||||
);
|
||||
|
||||
// Load world generators
|
||||
io::path generatorsDir = folder / "generators";
|
||||
foreach_file(generatorsDir, [this](const io::path& file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue