summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-10 16:33:53 +0100
committermadmaxoft <github@xoft.cz>2014-01-10 16:34:09 +0100
commit712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662 (patch)
treebfb7ce25b8150adb210cd900d038423fd0184a9d /src/Generating/ComposableGenerator.cpp
parentMerge pull request #520 from mc-server/SoulSand (diff)
downloadcuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar.gz
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar.bz2
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar.lz
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar.xz
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.tar.zst
cuberite-712e6e0bb2ef2accf4ffc7792c1ad0ab0ae96662.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 76d06724d..971ff4538 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -90,7 +90,8 @@ cTerrainCompositionGen * cTerrainCompositionGen::CreateCompositionGen(cIniFile &
}
else
{
- LOGWARN("Unknown CompositionGen \"%s\", using \"biomal\" instead.", CompoGenName.c_str());
+ LOGWARN("Unknown CompositionGen \"%s\", using \"Biomal\" instead.", CompoGenName.c_str());
+ a_IniFile.DeleteValue("Generator", "CompositionGen");
a_IniFile.SetValue("Generator", "CompositionGen", "Biomal");
return CreateCompositionGen(a_IniFile, a_BiomeGen, a_HeightGen, a_Seed);
}