0

added a more informative error if the map is too big for Overviewer to handle

From Issue #290:
https://github.com/brownan/Minecraft-Overviewer/issues/290
This commit is contained in:
Aaron Griffith
2011-03-06 15:35:40 -05:00
parent 8b6b5df8ef
commit 5cb599fabb

View File

@@ -114,7 +114,7 @@ class QuadtreeGen(object):
yradius >= worldobj.maxrow and -yradius <= worldobj.minrow:
break
else:
raise ValueError("Your map is waaaay too big!")
raise ValueError("Your map is waaaay too big! Use the '-z' or '--zoom' options.")
self.p = p
else: