0

Skip missing dimensions

This fixes overviewer/Minecraft-Overviewer #1202 for renders
This commit is contained in:
Gizmokid2005
2015-02-05 13:52:31 -05:00
parent 32fbc1dea2
commit d3185734c4

View File

@@ -486,8 +486,8 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
logging.error("Sorry, I can't find anything to render! Are you sure there are .mca files in the world directory?") logging.error("Sorry, I can't find anything to render! Are you sure there are .mca files in the world directory?")
return 1 return 1
if rset == None: # indicates no such dimension was found: if rset == None: # indicates no such dimension was found:
logging.error("Sorry, you requested dimension '%s' for %s, but I couldn't find it", render['dimension'][0], render_name) logging.warn("Sorry, you requested dimension '%s' for %s, but I couldn't find it", render['dimension'][0], render_name)
return 1 continue
################# #################
# Apply any regionset transformations here # Apply any regionset transformations here