Fixed typos... they're not my fault!
This commit is contained in:
@@ -280,12 +280,12 @@ Old name: world.iterate_chunk_metadata
|
|||||||
for chunkx, chunky in mcr.get_chunks():
|
for chunkx, chunky in mcr.get_chunks():
|
||||||
yield chunkx+32*regionx, chunky+32*regiony, mcr.get_chunk_timestamp(chunkx, chunky)
|
yield chunkx+32*regionx, chunky+32*regiony, mcr.get_chunk_timestamp(chunkx, chunky)
|
||||||
|
|
||||||
def get_chunk_mtime(self, x, zr):
|
def get_chunk_mtime(self, x, z):
|
||||||
"""Returns a chunk’s mtime, or False if the chunk does not exist.
|
"""Returns a chunk's mtime, or False if the chunk does not exist.
|
||||||
This is therefore a dual purpose method. It corrects for the given north
|
This is therefore a dual purpose method. It corrects for the given north
|
||||||
direction as described in the docs for get_chunk()"""
|
direction as described in the docs for get_chunk()"""
|
||||||
|
|
||||||
regionfile = self.get_region_path(x,y)
|
regionfile = self.get_region_path(x,z)
|
||||||
if regionfile is None:
|
if regionfile is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user