PieceStructures generator: Fixed wrong merge conflict resolution.
Also improved reporting messages. Ref.: http://forum.mc-server.org/showthread.php?tid=2256
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user