add GameType property

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

View File

@ -1354,7 +1354,9 @@ class MCInfdevOldLevel(EntityLevel):
LastPlayed = TagProperty('LastPlayed', TAG_Long, lambda self:long(time.time() * 1000))
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):