Used reversed rather than __reversed__

This commit is contained in:
Caleb Deveraux 2010-10-04 01:55:17 -06:00
parent 4bec18588f
commit f602ba15ef

View File

@ -1363,7 +1363,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: