diff options
author | Mattes D <github@xoft.cz> | 2019-09-01 21:47:03 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-06 16:12:33 +0200 |
commit | 878393a03d201061064f8fe02fe6d16f9c2df052 (patch) | |
tree | 77d4e1a83898e3fd0e66a484aa07704632dd063e /src/Generating/ChunkGenerator.cpp | |
parent | Separated chunk generator from world / plugin interfaces. (diff) | |
download | cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.gz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.bz2 cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.lz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.xz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.zst cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ChunkGenerator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Generating/ChunkGenerator.cpp b/src/Generating/ChunkGenerator.cpp index d426ca19c..7687eea72 100644 --- a/src/Generating/ChunkGenerator.cpp +++ b/src/Generating/ChunkGenerator.cpp @@ -25,6 +25,8 @@ void cChunkGenerator::Initialize(cIniFile & a_IniFile) LOGINFO("Chosen a new random seed for world: %d", m_Seed); a_IniFile.SetValueI("Seed", "Seed", m_Seed); } + + m_Dimension = StringToDimension(a_IniFile.GetValue("General", "Dimension", "Overworld")); } |