From 7ca143a87a05d4241b5534d72e7a33c7a27f71cb Mon Sep 17 00:00:00 2001 From: David Vierra Date: Wed, 27 Jul 2011 04:38:51 -1000 Subject: [PATCH] generateHeightmap should just call self.load() instead of checking root_tag --- infiniteworld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infiniteworld.py b/infiniteworld.py index 928ba59..d56bd22 100644 --- a/infiniteworld.py +++ b/infiniteworld.py @@ -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