fill out the new version and LevelName fields on creation

This commit is contained in:
David Vierra 2011-02-23 09:35:53 -10:00
parent 5ed31290c4
commit fd7388fcd0

View File

@ -2431,6 +2431,8 @@ class MCInfdevOldLevel(MCLevel):
root_tag[Data]['SizeOnDisk'] = TAG_Long(long(0))
root_tag[Data]['Time'] = TAG_Long(1)
root_tag[Data]['version'] = TAG_Int(19132)
root_tag[Data]['LevelName'] = TAG_String(os.path.basename(self.worldDir))
### if singleplayer:
root_tag[Data][Player] = TAG_Compound()