throw away the uncompressed chunk data - xxx add dirty flag for other level types?
This commit is contained in:
parent
151e984909
commit
02280ed2a6
@ -1192,7 +1192,9 @@ class InfdevChunk(MCLevel):
|
|||||||
self.create();
|
self.create();
|
||||||
|
|
||||||
def compress(self):
|
def compress(self):
|
||||||
if not self.dirty: return
|
if not self.dirty:
|
||||||
|
self.root_tag = None
|
||||||
|
return
|
||||||
MCLevel.compress(self);
|
MCLevel.compress(self);
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Reference in New Issue
Block a user