mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Messed around with genmap.py. Now supports format version 17.
This commit is contained in:
parent
f07e445f80
commit
a649d43fe7
5 changed files with 241 additions and 56 deletions
|
@ -5540,9 +5540,11 @@ void ServerMap::loadBlock(std::string sectordir, std::string blockfile, MapSecto
|
|||
catch(SerializationError &e)
|
||||
{
|
||||
dstream<<"WARNING: Invalid block data on disk "
|
||||
"(SerializationError). Ignoring. "
|
||||
"A new one will be generated."
|
||||
"(SerializationError). "
|
||||
"what()="<<e.what()
|
||||
<<std::endl;
|
||||
//" Ignoring. A new one will be generated.
|
||||
assert(0);
|
||||
|
||||
// TODO: Backup file; name is in fullpath.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue