genPOI: catch ChunkDoesntExist when processes > 1
Fixes #1480. No clue how this wasn't an issue before but is an issue now in 1.13, maybe Minecraft writes more placeholder chunks these days.
This commit is contained in:
@@ -127,6 +127,8 @@ def parseBucketChunks((bucket, rset, filters)):
|
|||||||
markers[name].append(d)
|
markers[name].append(d)
|
||||||
except nbt.CorruptChunkError:
|
except nbt.CorruptChunkError:
|
||||||
logging.warning("Ignoring POIs in corrupt chunk %d,%d", b[0], b[1])
|
logging.warning("Ignoring POIs in corrupt chunk %d,%d", b[0], b[1])
|
||||||
|
except world.ChunkDoesntExist:
|
||||||
|
pass
|
||||||
|
|
||||||
# Perhaps only on verbose ?
|
# Perhaps only on verbose ?
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user