diff options
author | Mattes D <github@xoft.cz> | 2015-12-15 18:04:40 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-17 19:33:12 +0100 |
commit | f060d9f9b099494df889bb4258362753bbca7ed6 (patch) | |
tree | f79825371243dfcde128bc8bbcef8c222a952b67 /src/Generating | |
parent | Merge pull request #2761 from cuberite/fixed_warnings (diff) | |
download | cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar.gz cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar.bz2 cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar.lz cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar.xz cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.tar.zst cuberite-f060d9f9b099494df889bb4258362753bbca7ed6.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 8 | ||||
-rw-r--r-- | src/Generating/PieceStructuresGen.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index e5e1b0477..478404d45 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -415,9 +415,9 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) } else if (NoCaseCompare(*itr, "NetherForts") == 0) { - LOGINFO("The NetherForts finisher is obsolete, you should use \"PieceStructures: NetherForts\" instead."); + LOGINFO("The NetherForts finisher is obsolete, you should use \"PieceStructures: NetherFort\" instead."); auto gen = std::make_shared<cPieceStructuresGen>(Seed); - if (gen->Initialize("NetherForts", seaLevel, m_BiomeGen, m_CompositedHeightCache)) + if (gen->Initialize("NetherFort", seaLevel, m_BiomeGen, m_CompositedHeightCache)) { m_FinishGens.push_back(gen); } @@ -438,11 +438,11 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) m_FinishGens.push_back(gen); } } - else if (NoCaseCompare(finisher, "POCPieces") == 0) + else if (NoCaseCompare(finisher, "PieceStructures") == 0) { if (split.size() < 2) { - LOGWARNING("The PieceStructures generator needs the structures to use. Example: \"PieceStructures: NetherForts\"."); + LOGWARNING("The PieceStructures generator needs the structures to use. Example: \"PieceStructures: NetherFort\"."); continue; } diff --git a/src/Generating/PieceStructuresGen.cpp b/src/Generating/PieceStructuresGen.cpp index 4cbf8b032..e35048cb0 100644 --- a/src/Generating/PieceStructuresGen.cpp +++ b/src/Generating/PieceStructuresGen.cpp @@ -49,7 +49,7 @@ bool cPieceStructuresGen::Initialize(const AString & a_Prefabs, int a_SeaLevel, // Report a warning if no generators available: if (m_Gens.empty()) { - LOGWARNING("The PieceStructures generator was asked to generate \"%s\", but none of them are valid.", a_Prefabs.c_str()); + LOGWARNING("The PieceStructures generator was asked to generate \"%s\", but none of the prefabs are valid.", a_Prefabs.c_str()); return false; } return true; |