summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-14 16:25:28 +0200
committerGitHub <noreply@github.com>2016-08-14 16:25:28 +0200
commitf9f406d26141bb631defcf6c9ba7e9fa46395e62 (patch)
tree034715fc9dee76e742c5e20cc95fd443d3033013 /src/Generating/ComposableGenerator.cpp
parentTypo in IniFile:GetNumKeys() code sample (#3317) (diff)
parentImplemented OverworldClumpFlowers (diff)
downloadcuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar.gz
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar.bz2
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar.lz
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar.xz
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.tar.zst
cuberite-f9f406d26141bb631defcf6c9ba7e9fa46395e62.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index e9ab96aec..2b2b92ccf 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -438,6 +438,11 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
m_FinishGens.push_back(gen);
}
}
+ else if (NoCaseCompare(finisher, "OverworldClumpFlowers") == 0)
+ {
+ auto flowers = cFinishGenClumpTopBlock::ParseIniFile(a_IniFile, "OverworldClumpFlowers");
+ m_FinishGens.push_back(cFinishGenPtr(new cFinishGenClumpTopBlock(Seed, flowers)));
+ }
else if (NoCaseCompare(finisher, "PieceStructures") == 0)
{
if (split.size() < 2)