Don't compute skylight in The End.

This commit is contained in:
David Vierra 2011-11-02 11:39:54 -10:00
parent 7b92998368
commit ab865675c4

View File

@ -1835,7 +1835,7 @@ class ChunkedLevelMixin(object):
oldLeftEdge = zeros((1, 16, self.Height), 'uint8'); oldLeftEdge = zeros((1, 16, self.Height), 'uint8');
oldBottomEdge = zeros((16, 1, self.Height), 'uint8'); oldBottomEdge = zeros((16, 1, self.Height), 'uint8');
oldChunk = zeros((16, 16, self.Height), 'uint8'); oldChunk = zeros((16, 16, self.Height), 'uint8');
if self.dimNo == -1: if self.dimNo in (-1, 1):
lights = ("BlockLight",) lights = ("BlockLight",)
else: else:
lights = ("BlockLight", "SkyLight") lights = ("BlockLight", "SkyLight")