Follow symbolic links while finding region sets.
This commit is contained in:
@@ -116,7 +116,7 @@ class World(object):
|
|||||||
# seem to be any set standard on what dimensions are in each world,
|
# seem to be any set standard on what dimensions are in each world,
|
||||||
# just scan the directory heirarchy to find a directory with .mca
|
# just scan the directory heirarchy to find a directory with .mca
|
||||||
# files.
|
# files.
|
||||||
for root, dirs, files in os.walk(self.worlddir):
|
for root, dirs, files in os.walk(self.worlddir, followlinks=True):
|
||||||
# any .mcr files in this directory?
|
# any .mcr files in this directory?
|
||||||
mcas = [x for x in files if x.endswith(".mca")]
|
mcas = [x for x in files if x.endswith(".mca")]
|
||||||
if mcas:
|
if mcas:
|
||||||
|
|||||||
Reference in New Issue
Block a user