-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
When starting the import, an exception occurs and creates an empty world:
python3 mcimport.py ... ...
Traceback (most recent call last)::00:14 h:m:s
File "mcimport.py", line 107, in <module>
mtmap.save()
File "/home/dummy/mcimport/block.py", line 455, in save
for block in self.blocks:
File "/home/dummy/mcimport/block.py", line 439, in fromMCMapBlocksIterator
for mcblock in mcmap.getBlocksIterator():
File "/home/dummy/mcimport/block.py", line 62, in getBlocksIterator
blocks = self.getChunk(chkx, chkz).blocks
File "/home/ndurchx/mcimport/block.py", line 45, in getChunk
return MCChunk(chkx, chkz, self.world_path, self.ext)
File "/home/dummy/mcimport/block.py", line 91, in __init__
self.blocks.append(MCBlock(raw_data, (chkx, chkz), section["Y"], True))
File "/home/dummy/mcimport/block.py", line 108, in __init__
self.from_section(section)
File "/home/dummy/mcimport/block.py", line 174, in from_section
self.blocks = self.reverse_X_axis(section["Blocks"])
KeyError: 'Blocks'
Versions:
Minecraft: 1.15.2 (no mods)
Python: 3.6.9
On some worlds, the exception happens at the first line of the output. On other worlds, after a few correct output lines.
Here is a vanilla map, on which I have the exception at the first line (removed player data):
MTTest.zip
Oreolek and sbrl
Metadata
Metadata
Assignees
Labels
No labels