save and unload chunks during generation, to save memory
This commit is contained in:
parent
c3ec70bee1
commit
d350d65f90
@ -366,7 +366,11 @@ class MCServerChunkGenerator(object):
|
||||
chunk.dirty = True
|
||||
|
||||
chunk.compress()
|
||||
chunk.save()
|
||||
chunk.unload()
|
||||
tempChunk.compress()
|
||||
tempChunk.unload()
|
||||
|
||||
|
||||
|
||||
def generateChunkInLevel(self, level, cx, cz):
|
||||
|
Reference in New Issue
Block a user