summaryrefslogtreecommitdiffstats
path: root/source/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-11 18:15:34 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-11 18:15:34 +0100
commitd2573b84dd52c06c723953ef66da4af8937a5a53 (patch)
tree32b2fcc9ccfb727fe339f5cb675cbbb50298238c /source/Generating/ComposableGenerator.cpp
parentFixed a crash in LeakFinder when out of memory (diff)
downloadcuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.gz
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.bz2
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.lz
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.xz
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.tar.zst
cuberite-d2573b84dd52c06c723953ef66da4af8937a5a53.zip
Diffstat (limited to 'source/Generating/ComposableGenerator.cpp')
-rw-r--r--source/Generating/ComposableGenerator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Generating/ComposableGenerator.cpp b/source/Generating/ComposableGenerator.cpp
index 793d6a449..0cd6bfb4f 100644
--- a/source/Generating/ComposableGenerator.cpp
+++ b/source/Generating/ComposableGenerator.cpp
@@ -283,6 +283,10 @@ void cComposableGenerator::InitCompositionGen(cIniFile & a_IniFile)
BlockBeachBottom, BlockSea
);
}
+ else if (NoCaseCompare(CompoGenName, "nether") == 0)
+ {
+ m_CompositionGen = new cCompoGenNether(m_ChunkGenerator.GetSeed());
+ }
else
{
if (NoCaseCompare(CompoGenName, "biomal") != 0)