diff options
author | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-03 00:55:09 +0100 |
---|---|---|
committer | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-03 00:55:09 +0100 |
commit | 2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a (patch) | |
tree | 0c58709094b35f07f862a87c69ea16b5c55287ae /src/Generating/ComposableGenerator.cpp | |
parent | typos and oversights for lua and CI (diff) | |
download | cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar.gz cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar.bz2 cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar.lz cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar.xz cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.tar.zst cuberite-2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a.zip |
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index 6b8923955..bda45ad92 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -294,7 +294,11 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) for (AStringVector::const_iterator itr = Str.begin(); itr != Str.end(); ++itr) { // Finishers, alpha-sorted: - if (NoCaseCompare(*itr, "BottomLava") == 0) + if (NoCaseCompare(*itr, "Animals") == 0) + { + m_FinishGens.push_back(cFinishGenPtr(new cFinishGenPassiveMobs(Seed, a_IniFile, Dimension))); + } + else if (NoCaseCompare(*itr, "BottomLava") == 0) { int DefaultBottomLavaLevel = (Dimension == dimNether) ? 30 : 10; int BottomLavaLevel = a_IniFile.GetValueSetI("Generator", "BottomLavaLevel", DefaultBottomLavaLevel); |