add chunkIsLoaded test for generic levels
This commit is contained in:
parent
f15cd1992d
commit
5f6cf2aa14
@ -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):
|
||||
|
Reference in New Issue
Block a user