@@ -513,7 +513,7 @@ def main():
|
|||||||
rset = w.get_regionset(render['dimension'][1])
|
rset = w.get_regionset(render['dimension'][1])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
logging.error("Sorry, I can't find anything to render! Are you sure there are .mca "
|
logging.error("Sorry, I can't find anything to render! Are you sure there are .mca "
|
||||||
"files in the world directory?")
|
"files in the world directory of %s?" % render['world'])
|
||||||
return 1
|
return 1
|
||||||
if rset is None: # indicates no such dimension was found
|
if rset is None: # indicates no such dimension was found
|
||||||
logging.warning("Sorry, you requested dimension '%s' for %s, but I couldn't find it.",
|
logging.warning("Sorry, you requested dimension '%s' for %s, but I couldn't find it.",
|
||||||
|
|||||||
@@ -1672,7 +1672,7 @@ class RegionSet(object):
|
|||||||
x = int(p[1])
|
x = int(p[1])
|
||||||
y = int(p[2])
|
y = int(p[2])
|
||||||
if abs(x) > 500000 or abs(y) > 500000:
|
if abs(x) > 500000 or abs(y) > 500000:
|
||||||
logging.warning("Holy shit what is up with region file %s !?" % f)
|
logging.warning("Holy shit what is up with region file %s in %s !?" % (f, self.regiondir))
|
||||||
yield (x, y, os.path.join(self.regiondir, f))
|
yield (x, y, os.path.join(self.regiondir, f))
|
||||||
|
|
||||||
class RegionSetWrapper(object):
|
class RegionSetWrapper(object):
|
||||||
|
|||||||
Reference in New Issue
Block a user