zipfile.read returns the compressed data, so have ZipSchematic._loadChunk decompress it
This commit is contained in:
parent
1bf1cfa8b6
commit
938a7ee21b
@ -3939,6 +3939,7 @@ class ZipSchematic (MCInfdevOldLevel):
|
||||
else:
|
||||
cdata = self.zipfile.read(chunk.chunkFilename)
|
||||
chunk.compressedTag = cdata
|
||||
chunk.decompress()
|
||||
|
||||
def _saveChunk(self, chunk):
|
||||
raise NotImplementedError, "Cannot save zipfiles yet!"
|
||||
|
Reference in New Issue
Block a user