add chunkIsLoaded test for generic levels

This commit is contained in:
David Vierra 2010-12-02 21:17:46 -10:00
parent f15cd1992d
commit 5f6cf2aa14

View File

@ -494,7 +494,9 @@ class MCLevel(object):
return (cx >=0 and cx < (self.Width+15 >> 4) and
cz >=0 and cz < (self.Length+15 >> 4))
def chunkIsLoaded(self, cx, cz):
return self.containsChunk(cx,cz)
def lightsForChunk(self, cx, cz):
return None;
def skyLightForChunk(self, cx, cz):