stop when there are no more chunks to light

This commit is contained in:
David Vierra 2010-11-15 21:54:45 -10:00
parent 45d16bb0b9
commit e1b201f417

View File

@ -2398,6 +2398,8 @@ class MCInfdevOldLevel(MCLevel):
newDirtyChunks = list(startingDirtyChunks);
for i in range(14):
if len(newDirtyChunks) == 0: break
info( u"{0} Pass {1}: {2} chunks".format(light, i, len(newDirtyChunks)) );
"""