Don't compute skylight in The End.
This commit is contained in:
parent
7b92998368
commit
ab865675c4
@ -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")
|
||||||
|
Reference in New Issue
Block a user