use containsChunk instead of testing _loadedChunks
This commit is contained in:
parent
ada922c3b6
commit
08e5fe189a
@ -3014,7 +3014,7 @@ class MCInfdevOldLevel(MCLevel):
|
||||
ret = [];
|
||||
for cx,cz in chunks:
|
||||
i+=1;
|
||||
if not ((cx,cz) in self._loadedChunks):
|
||||
if not self.containsChunk(cx,cz):
|
||||
ret.append( (cx,cz) )
|
||||
self.createChunk(cx,cz);
|
||||
self.compressChunk(cx,cz);
|
||||
|
Reference in New Issue
Block a user