diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2021-04-12 23:33:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 23:33:14 +0200 |
commit | a2a222617953c949a1bc8460583b6f6e330d0c64 (patch) | |
tree | 624c1740df7e54e32d8ee453201d1811451187b8 /src/Generating/ComposableGenerator.cpp | |
parent | Fix improper destruction of BEs on /regen (diff) | |
download | cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar.gz cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar.bz2 cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar.lz cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar.xz cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.tar.zst cuberite-a2a222617953c949a1bc8460583b6f6e330d0c64.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index a688e7de6..8d3f361bd 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -230,7 +230,8 @@ void cComposableGenerator::InitializeGeneratorDefaults(cIniFile & a_IniFile, eDi "NaturalPatches, " "PreSimulator, " "Animals, " - "OverworldClumpFlowers" + "OverworldClumpFlowers, " + "ForestRocks" ); break; } // dimOverworld @@ -463,6 +464,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) Gen->Init(Pillars, Radius); m_FinishGens.push_back(std::move(Gen)); } + else if (NoCaseCompare(finisher, "ForestRocks") == 0) + { + m_FinishGens.push_back(cFinishGenPtr(new cFinishGenForestRocks(m_Seed, a_IniFile))); + } else if (NoCaseCompare(finisher, "GlowStone") == 0) { m_FinishGens.push_back(std::make_unique<cFinishGenGlowStone>(m_Seed)); |