}
else
{
- // Load map metadata (seed, chunksize)
- loadMapMeta();
-
try{
+ // Load map metadata (seed, chunksize)
+ loadMapMeta();
+
// Load chunk metadata
loadChunkMeta();
}
catch(FileNotGoodException &e){
dstream<<DTIME<<"WARNING: Server: Could not load "
- <<"chunk metafile. Disabling chunk-based "
+ <<"metafile(s). Disabling chunk-based "
<<"generation."<<std::endl;
m_chunksize = 0;
}
{
DSTACK(__FUNCTION_NAME);
- dstream<<"INFO: ServerMap::loadMapMeta(): Loading chunk metadata"
+ dstream<<"INFO: ServerMap::loadMapMeta(): Loading map metadata"
<<std::endl;
std::string fullpath = m_savedir + "/map_meta.txt";
{
dstream<<"ERROR: ServerMap::loadMapMeta(): "
<<"could not open"<<fullpath<<std::endl;
- throw FileNotGoodException("Cannot open chunk metadata");
+ throw FileNotGoodException("Cannot open map metadata");
}
Settings params;