ZipSchematic mostly works for reading from.
createChunk does nothing and deleteChunk probably causes an error, but importing them works neatly
This commit is contained in:
parent
b346c83f4b
commit
29533b4acf
@ -3042,8 +3042,8 @@ class MCAlphaDimension (MCInfdevOldLevel):
|
||||
|
||||
class ZipSchematic (MCInfdevOldLevel):
|
||||
def __init__(self, filename):
|
||||
tempdir = tempfile.mkdtemp("schematic")
|
||||
|
||||
tempdir = tempfile.mktemp("schematic")
|
||||
self.filename = filename
|
||||
self.worldDir = tempdir
|
||||
|
||||
#used to limit memory usage
|
||||
@ -3083,6 +3083,9 @@ class ZipSchematic (MCInfdevOldLevel):
|
||||
|
||||
def _saveChunk(self, chunk):
|
||||
raise NotImplemented, "Cannot save zipfiles yet!"
|
||||
|
||||
def saveInPlace(self):
|
||||
raise NotImplemented, "Cannot save zipfiles yet!"
|
||||
|
||||
def preloadChunkPaths(self):
|
||||
info( u"Scanning for chunks..." )
|
||||
|
Reference in New Issue
Block a user