in containsChunk, just initiate a region scan instead of failing to load the region file
This commit is contained in:
parent
f52bacdc29
commit
a07c656c69
@ -3772,12 +3772,7 @@ class MCInfdevOldLevel(MCLevel):
|
||||
if self._allChunks is not None: return (cx, cz) in self._allChunks;
|
||||
if (cx,cz) in self._loadedChunks: return True;
|
||||
if self.version:
|
||||
r = (cx>>5, cz>>5)
|
||||
if r in self.regionFiles:
|
||||
if self.regionFiles[r].getOffset(cx,cz):
|
||||
return True
|
||||
|
||||
return False
|
||||
return (cx,cz) in self.allChunks
|
||||
else:
|
||||
return os.path.exists(self.chunkFilename(cx, cz))
|
||||
|
||||
|
Reference in New Issue
Block a user