generateHeightmap should just call self.load() instead of checking root_tag

This commit is contained in:
David Vierra 2011-07-27 04:38:51 -10:00
parent 19daf35a9e
commit 7ca143a87a

View File

@ -457,7 +457,7 @@ class InfdevChunk(MCLevel):
self.root_tag[Level]["TerrainPopulated"].value = val;
def generateHeightMap(self):
if None is self.root_tag: self.load();
self.load();
blocks = self.Blocks
heightMap = self.HeightMap