Default value is compatible with the expecteed result in fetching the region for a path
This commit is contained in:
@@ -513,7 +513,7 @@ class RegionSet(object):
|
|||||||
Coords can be either be global chunk coords, or local to a region
|
Coords can be either be global chunk coords, or local to a region
|
||||||
|
|
||||||
"""
|
"""
|
||||||
(regionfile,filemtime) = self.regionfiles.get((chunkX//32, chunkY//32),None)
|
(regionfile,filemtime) = self.regionfiles.get((chunkX//32, chunkY//32),(None, None))
|
||||||
return regionfile
|
return regionfile
|
||||||
|
|
||||||
def _iterate_regionfiles(self):
|
def _iterate_regionfiles(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user