catch missing chunks here
This commit is contained in:
parent
574e3a7be6
commit
485cea1a6d
@ -1927,7 +1927,10 @@ class MCInfdevOldLevel(MCLevel):
|
||||
|
||||
info( "Lighting {0} chunks".format(len(dirtyChunks)) )
|
||||
for chunk in dirtyChunks:
|
||||
try:
|
||||
chunk.load();
|
||||
except (ChunkNotPresent, ChunkMalformed):
|
||||
continue;
|
||||
chunk.chunkChanged();
|
||||
|
||||
assert chunk.dirty and chunk.needsLighting
|
||||
|
Reference in New Issue
Block a user