add fake chunkIsCompressed/Dirty for finite levels

This commit is contained in:
David Vierra 2011-06-30 14:11:09 -10:00
parent c496c5f0ad
commit 91490dfd10

View File

@ -617,6 +617,12 @@ class MCLevel(object):
def chunkIsLoaded(self, cx, cz): def chunkIsLoaded(self, cx, cz):
return self.containsChunk(cx,cz) return self.containsChunk(cx,cz)
def chunkIsCompressed(self, cx, cz):
return False
def chunkIsDirty(self, cx, cz):
return True
def fakeBlocksForChunk(self, cx, cz): def fakeBlocksForChunk(self, cx, cz):
#return a 16x16xH block array for rendering. Alpha levels can #return a 16x16xH block array for rendering. Alpha levels can