From 7d2ec07a1a1ca7ece6ac9a785f31c916bdad6cd8 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 14 Oct 2011 20:46:17 -1000 Subject: [PATCH] skip sky lighting in The End --- infiniteworld.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infiniteworld.py b/infiniteworld.py index 2245aab..04e7321 100644 --- a/infiniteworld.py +++ b/infiniteworld.py @@ -787,8 +787,8 @@ class InfdevChunk(EntityLevel): def genFastLights(self): self.SkyLight[:] = 0; - if self.world.dimNo == -1: - return #no light in nether + if self.world.dimNo in (-1, 1): + return #no light in nether or the end blocks = self.Blocks; la = self.world.materials.lightAbsorption