Fix blocktypes not being created on newly created worlds

This commit is contained in:
David Vierra 2015-10-28 03:52:55 -10:00
parent c858d4ebfe
commit d364e5db59

View File

@ -462,6 +462,8 @@ class AnvilWorldAdapter(object):
else:
self.loadMetadata()
self.loadBlockMapping()
def __repr__(self):
return "AnvilWorldAdapter(%r)" % self.filename
@ -542,8 +544,6 @@ class AnvilWorldAdapter(object):
if self.metadata.version != VERSION_ANVIL:
raise LevelFormatError("Pre-Anvil world formats are not supported (for now)")
self.loadBlockMapping()
def loadBlockMapping(self):
if self.metadata.is1_8World():
itemStackVersion = VERSION_1_8