From ab865675c4a65b0a170717e6d09259be94f9d492 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Wed, 2 Nov 2011 11:39:54 -1000 Subject: [PATCH] Don't compute skylight in The End. --- infiniteworld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infiniteworld.py b/infiniteworld.py index 093e076..ae8e3ac 100644 --- a/infiniteworld.py +++ b/infiniteworld.py @@ -1835,7 +1835,7 @@ class ChunkedLevelMixin(object): oldLeftEdge = zeros((1, 16, self.Height), 'uint8'); oldBottomEdge = zeros((16, 1, self.Height), 'uint8'); oldChunk = zeros((16, 16, self.Height), 'uint8'); - if self.dimNo == -1: + if self.dimNo in (-1, 1): lights = ("BlockLight",) else: lights = ("BlockLight", "SkyLight")