summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-11-28 16:57:41 +0100
committerMattes D <github@xoft.cz>2015-11-28 16:57:41 +0100
commitac0a3609159274c9765739b2eab37613b1ade4cc (patch)
treeed56d4000e2d3836f27a0511f9c7ccd16f32bca6 /src/Generating
parentMerge pull request #2670 from cuberite/OrePockets (diff)
parentNormalized OrePockets generator config names. (diff)
downloadcuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar.gz
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar.bz2
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar.lz
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar.xz
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.tar.zst
cuberite-ac0a3609159274c9765739b2eab37613b1ade4cc.zip
Diffstat (limited to 'src/Generating')
-rw-r--r--src/Generating/FinishGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index 6e833ad6d..27ff6255f 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -1649,7 +1649,7 @@ void cFinishGenOreNests::GenerateOre(
bool cFinishGenOrePockets::Initialize(cIniFile & a_IniFile, const AString & a_GenName)
{
// Read the OreInfos configuration:
- auto valueName = a_GenName + "_blocks";
+ auto valueName = a_GenName + "Blocks";
auto pocketCfg = a_IniFile.GetValue("Generator", valueName, "");
if (pocketCfg.empty())
{
@@ -1662,7 +1662,7 @@ bool cFinishGenOrePockets::Initialize(cIniFile & a_IniFile, const AString & a_Ge
}
// Read the optional seed configuration (but do not store the default):
- valueName = a_GenName + "_seed";
+ valueName = a_GenName + "Seed";
SetSeed(a_IniFile.GetValueI("Generator", valueName, m_Noise.GetSeed()));
return true;