skip sky lighting in The End
This commit is contained in:
parent
b892d9bc95
commit
7d2ec07a1a
@ -787,8 +787,8 @@ class InfdevChunk(EntityLevel):
|
|||||||
|
|
||||||
def genFastLights(self):
|
def genFastLights(self):
|
||||||
self.SkyLight[:] = 0;
|
self.SkyLight[:] = 0;
|
||||||
if self.world.dimNo == -1:
|
if self.world.dimNo in (-1, 1):
|
||||||
return #no light in nether
|
return #no light in nether or the end
|
||||||
|
|
||||||
blocks = self.Blocks;
|
blocks = self.Blocks;
|
||||||
la = self.world.materials.lightAbsorption
|
la = self.world.materials.lightAbsorption
|
||||||
|
Reference in New Issue
Block a user