From 5ad16c7a87c4da4257a49d29c3820a94863747f6 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sun, 27 Feb 2011 00:16:29 -1000 Subject: [PATCH] on chunk load, alert the world that the chunk is also decompressed xxx this is very sloppy --- mclevel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mclevel.py b/mclevel.py index 2451f86..8fe2bab 100644 --- a/mclevel.py +++ b/mclevel.py @@ -1921,7 +1921,8 @@ class InfdevChunk(MCLevel): raise ChunkMalformed, self.filename self.world.chunkDidLoad(self) - + self.world.chunkDidDecompress(self); + def unload(self): """ Frees the chunk's memory. Will not save to disk. Unloads completely if the chunk does not need to be saved."""