From 212d606cb2f9d516b2b554fd7b13af6df6c59e6b Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 26 Nov 2010 06:03:56 -1000 Subject: [PATCH] keep presentChunks property for compatibility, just calls allChunks --- mclevel.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mclevel.py b/mclevel.py index fe8b3d7..eae13e7 100644 --- a/mclevel.py +++ b/mclevel.py @@ -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