From 9479ac59b4412647ed0525232e78d4c063e7edb1 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Fri, 3 May 2019 15:13:18 +0200 Subject: [PATCH] world: make the chunk populated code even uglier Fixes #1568. Fixes #1566. --- overviewer_core/world.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 07bc9e6..d62af8b 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -1307,7 +1307,8 @@ class RegionSet(object): # Empty is self-explanatory, and liquid_carved and carved seem to correspond # to SkyLight not being calculated, which results in mostly-black chunks, # so we'll just pretend they aren't there. - if chunk_data.get("Status", "") not in ("full", "postprocessed", "fullchunk"): + if chunk_data.get("Status", "") not in ("full", "postprocessed", "fullchunk", + "mobs_spawned", ""): raise ChunkDoesntExist("Chunk %s,%s doesn't exist" % (x,z)) if data[1]['DataVersion'] >= 1952: # Only check this for 1.14 and above if not chunk_data.get("isLightOn", 0):