summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
author12xx12 <44411062+12xx12@users.noreply.github.com>2021-04-12 23:33:14 +0200
committerGitHub <noreply@github.com>2021-04-12 23:33:14 +0200
commita2a222617953c949a1bc8460583b6f6e330d0c64 (patch)
tree624c1740df7e54e32d8ee453201d1811451187b8 /src/Generating/ComposableGenerator.cpp
parentFix improper destruction of BEs on /regen (diff)
downloadcuberite-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 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp7
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));