Fix blocktypes not being created on newly created worlds
This commit is contained in:
parent
c858d4ebfe
commit
d364e5db59
@ -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
|
||||
|
Reference in New Issue
Block a user