Used reversed rather than __reversed__
This commit is contained in:
parent
b766af613c
commit
269af277d7
@ -1374,7 +1374,7 @@ class InfdevChunk(MCLevel):
|
|||||||
|
|
||||||
self.SkyLight[x,z,self.HeightMap[z,x]:128] = 15
|
self.SkyLight[x,z,self.HeightMap[z,x]:128] = 15
|
||||||
lv = 15;
|
lv = 15;
|
||||||
for y in xrange(self.HeightMap[z,x]).__reversed__():
|
for y in reversed(xrange(self.HeightMap[z,x])):
|
||||||
lv -= max(la[self.Blocks[x,z,y]], 1)
|
lv -= max(la[self.Blocks[x,z,y]], 1)
|
||||||
|
|
||||||
if lv <= 0:
|
if lv <= 0:
|
||||||
|
Reference in New Issue
Block a user