From b0b8813022d8c5e999294991def8dbf9bec57db8 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sun, 9 Dec 2012 12:18:00 -1000 Subject: [PATCH] Fixed: PE world not appearing when Show->TileTicks is enabled. Fixes #211 --- renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer.py b/renderer.py index 205dd4a..2d8ad70 100644 --- a/renderer.py +++ b/renderer.py @@ -948,7 +948,7 @@ class TileTicksRenderer(EntityRendererGeneric): layer = Layer.TileTicks def makeChunkVertices(self, chunk): - if "Level" in chunk.root_tag and "TileTicks" in chunk.root_tag["Level"]: + if chunk.root_tag and "Level" in chunk.root_tag and "TileTicks" in chunk.root_tag["Level"]: ticks = chunk.root_tag["Level"]["TileTicks"] if len(ticks): self.vertexArrays.append(self._computeVertices([[t[i].value for i in "xyz"] for t in ticks],