summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-03 00:55:09 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-03 00:55:09 +0100
commit2ea8a36df6bf0fd4d4eef21521ef0f07a87e895a (patch)
tree0c58709094b35f07f862a87c69ea16b5c55287ae /src
parenttypos and oversights for lua and CI (diff)
downloadcuberite-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 '')
-rw-r--r--src/Generating/ComposableGenerator.cpp6
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);