add GameType property

This commit is contained in:
David Vierra 2011-09-12 13:29:58 -10:00
parent c1e7f7260d
commit 704cedcffd

View File

@ -1355,6 +1355,8 @@ class MCInfdevOldLevel(EntityLevel):
LevelName = TagProperty('LevelName', TAG_String, lambda self:self.displayName)
GameType = TagProperty('GameType', TAG_Int, lambda a:0) #0 for survival, 1 for creative
_bounds = None
@property
def bounds(self):