keep presentChunks property for compatibility, just calls allChunks

This commit is contained in:
David Vierra 2010-11-26 06:03:56 -10:00
parent 767f3a9295
commit 212d606cb2

View File

@ -450,6 +450,9 @@ class MCLevel(object):
def loadedChunks(self):
return itertools.product(xrange(0, self.Width+15>>4), xrange(0, self.Length+15>>4))
@property
def presentChunks(self): return self.allChunks #backward compatibility
@property
def allChunks(self):
return self.loadedChunks