fixed untested bugs with MCInfdevOldLevel.create
This commit is contained in:
parent
1243d1a7a6
commit
914a3bda50
@ -1741,6 +1741,8 @@ class MCInfdevOldLevel(MCLevel):
|
||||
if not os.path.exists(self.worldDir):
|
||||
os.mkdir(self.worldDir)
|
||||
|
||||
self.root_tag = root_tag;
|
||||
|
||||
def __init__(self, filename = None, create = False, random_seed=None, last_played=None):
|
||||
#pass level.dat's root tag and filename to read an existing level.
|
||||
#pass only filename to create a new one
|
||||
|
Reference in New Issue
Block a user