From 4f619cbaef961d8a95f86742f5ed10c03a00a56e Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Mon, 26 Aug 2019 19:36:05 +0200 Subject: [PATCH] world: also allow chunks of status "spawn" Apparently this is a status sometimes seen with worlds converted from 1.12 to 1.14. From the sample I have, it looks like they're properly populated with light and terrain data, so hopefully this doesn't break anything. Possibly fixes #1630. --- overviewer_core/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index 5cc259e..445e70c 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -1339,7 +1339,7 @@ class RegionSet(object): # 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", - "mobs_spawned", ""): + "mobs_spawned", "spawn", ""): raise ChunkDoesntExist("Chunk %s,%s doesn't exist" % (x,z)) # Turn the Biomes array into a 16x16 numpy array