From d3185734c4d4fa2c2a7898ab90850a157df495a8 Mon Sep 17 00:00:00 2001 From: Gizmokid2005 Date: Thu, 5 Feb 2015 13:52:31 -0500 Subject: [PATCH] Skip missing dimensions This fixes overviewer/Minecraft-Overviewer #1202 for renders --- overviewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer.py b/overviewer.py index 41c1ff7..71d7786 100755 --- a/overviewer.py +++ b/overviewer.py @@ -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?") return 1 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) - return 1 + logging.warn("Sorry, you requested dimension '%s' for %s, but I couldn't find it", render['dimension'][0], render_name) + continue ################# # Apply any regionset transformations here