Fixed remaining cases of undefined behaviour on ambiguous world format

It was still possible to produce undefined behaviour by creating a db folder in a region-based world, or adding regions to a leveldb world. This now solves the problem completely by refusing to load the world if multiple formats match the world.
This commit is contained in:
Dylan K. Taylor
2018-10-04 19:43:31 +01:00
parent 0cc4bc48cc
commit a273a0c8a9
4 changed files with 23 additions and 26 deletions