generateHeightmap should just call self.load() instead of checking root_tag
This commit is contained in:
parent
19daf35a9e
commit
7ca143a87a
@ -457,7 +457,7 @@ class InfdevChunk(MCLevel):
|
|||||||
self.root_tag[Level]["TerrainPopulated"].value = val;
|
self.root_tag[Level]["TerrainPopulated"].value = val;
|
||||||
|
|
||||||
def generateHeightMap(self):
|
def generateHeightMap(self):
|
||||||
if None is self.root_tag: self.load();
|
self.load();
|
||||||
|
|
||||||
blocks = self.Blocks
|
blocks = self.Blocks
|
||||||
heightMap = self.HeightMap
|
heightMap = self.HeightMap
|
||||||
|
Reference in New Issue
Block a user