skip sky lighting in The End

This commit is contained in:
David Vierra 2011-10-14 20:46:17 -10:00
parent b892d9bc95
commit 7d2ec07a1a

View File

@ -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