From 783c91adffdd6163d20fe400b8810cc523f63218 Mon Sep 17 00:00:00 2001 From: Michael Jensen Date: Thu, 30 Sep 2010 10:16:07 +1000 Subject: [PATCH 1/2] Merge branches 'documentation' and 'master' From 52fab49248ba469ca7084c365f24824866528c97 Mon Sep 17 00:00:00 2001 From: Michael Jensen Date: Wed, 20 Oct 2010 23:52:33 +1100 Subject: [PATCH 2/2] Fixed simple missing test that was causing index out of range exceptions Now will not crash if the map being rendered in cave mode goes up to the height limit. --- chunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chunk.py b/chunk.py index aefcab7..0ebe1cc 100644 --- a/chunk.py +++ b/chunk.py @@ -531,7 +531,7 @@ class ChunkRenderer(object): ): continue elif cave and ( - y == 15 and x == 0 + y == 15 and x == 0 and z != 127 ): # If it's on the facing edge, only render if what's # above it is transparent