0

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.
This commit is contained in:
Michael Jensen
2010-10-20 23:52:33 +11:00
parent 82f931e373
commit 52fab49248

View File

@@ -531,7 +531,7 @@ class ChunkRenderer(object):
): ):
continue continue
elif cave and ( 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 # If it's on the facing edge, only render if what's
# above it is transparent # above it is transparent