cosmetic changes
This commit is contained in:
parent
251b81703b
commit
f724a5ef94
16
mclevel.py
16
mclevel.py
@ -2480,14 +2480,14 @@ class MCInfdevOldLevel(MCLevel):
|
|||||||
print "Chunk error during relight, chunk skipped: ", e
|
print "Chunk error during relight, chunk skipped: ", e
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for dir,dx,dy,dz in ( (FaceXDecreasing,-1,0,0),
|
for dir,dx,dz in ( (FaceXDecreasing,-1,0),
|
||||||
(FaceXIncreasing,1,0,0),
|
(FaceXIncreasing,1,0),
|
||||||
(FaceZDecreasing,0,0, -1),
|
(FaceZDecreasing,0, -1),
|
||||||
(FaceZIncreasing,0,0, 1) ):
|
(FaceZIncreasing,0, 1) ):
|
||||||
try:
|
try:
|
||||||
neighboringChunks[dir] = self.getChunk(cx+dx,cz+dz)
|
neighboringChunks[dir] = self.getChunk(cx+dx,cz+dz)
|
||||||
except (ChunkNotPresent, ChunkMalformed):
|
except (ChunkNotPresent, ChunkMalformed):
|
||||||
neighboringChunks[dir] = zeroChunk;
|
neighboringChunks[dir] = zeroChunk;
|
||||||
|
|
||||||
|
|
||||||
chunkLa = la[chunk.Blocks]+1;
|
chunkLa = la[chunk.Blocks]+1;
|
||||||
|
Reference in New Issue
Block a user