change x,z to cx,cz here
This commit is contained in:
parent
53be8e48bf
commit
9ec4ca3578
@ -472,7 +472,7 @@ class MCLevel(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
def compressChunk(self, x, z): pass
|
def compressChunk(self, cx, cz): pass
|
||||||
def entitiesAt(self, x, y, z):
|
def entitiesAt(self, x, y, z):
|
||||||
return None
|
return None
|
||||||
def tileEntityAt(self, x, y, z):
|
def tileEntityAt(self, x, y, z):
|
||||||
@ -2856,9 +2856,9 @@ class MCInfdevOldLevel(MCLevel):
|
|||||||
for ch in self._loadedChunks.itervalues():
|
for ch in self._loadedChunks.itervalues():
|
||||||
ch.compress();
|
ch.compress();
|
||||||
|
|
||||||
def compressChunk(self, x, z):
|
def compressChunk(self, cx, cz):
|
||||||
if not (x,z) in self._loadedChunks: return; #not an error
|
if not (cx,cz) in self._loadedChunks: return; #not an error
|
||||||
self._loadedChunks[x,z].compress()
|
self._loadedChunks[cx,cz].compress()
|
||||||
|
|
||||||
decompressedChunkLimit = 2048 # about 320 megabytes
|
decompressedChunkLimit = 2048 # about 320 megabytes
|
||||||
loadedChunkLimit = 8192 # from 8mb to 800mb depending on chunk contents
|
loadedChunkLimit = 8192 # from 8mb to 800mb depending on chunk contents
|
||||||
|
Reference in New Issue
Block a user