diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 20:33:26 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 20:33:26 +0100 |
commit | 80d7c88e007c6dd3af629aad7a01fbf911a00d67 (patch) | |
tree | f60467bca973ef34b355b53e2d0dbb5554f71ad7 /src/Generating/ComposableGenerator.cpp | |
parent | Merge branch 'master' into Werror (diff) | |
parent | Merge pull request #791 from mc-server/PieceGenerator (diff) | |
download | cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar.gz cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar.bz2 cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar.lz cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar.xz cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.tar.zst cuberite-80d7c88e007c6dd3af629aad7a01fbf911a00d67.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index e96e9a645..6c00b5905 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -22,6 +22,7 @@ #include "EndGen.h" #include "MineShafts.h" #include "Noise3DGenerator.h" +#include "POCPieceGenerator.h" #include "Ravines.h" @@ -364,6 +365,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) { m_FinishGens.push_back(new cStructGenOreNests(Seed)); } + else if (NoCaseCompare(*itr, "POCPieces") == 0) + { + m_FinishGens.push_back(new cPOCPieceGenerator(Seed)); + } else if (NoCaseCompare(*itr, "PreSimulator") == 0) { m_FinishGens.push_back(new cFinishGenPreSimulator); |