accessing TerrainPopulated now correctly decompresses the chunk

This commit is contained in:
David Vierra 2010-12-20 09:57:34 -10:00
parent 37fe10d4ad
commit bc5e27cb4a

View File

@ -1785,9 +1785,11 @@ class InfdevChunk(MCLevel):
return self.root_tag[Level][TileEntities]
@property
@decompress_first
def TerrainPopulated(self):
return self.root_tag[Level]["TerrainPopulated"].value;
@TerrainPopulated.setter
@decompress_first
def TerrainPopulated(self, val):
"""True or False. If False, the game will populate the chunk with
ores and vegetation on next load"""