From 28dd0589b367de97e4f2935d194961202cc77021 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Tue, 7 Aug 2018 20:24:42 -0400 Subject: [PATCH] ignore "decorated" chunks This seems to fix lighting problems by ignoring chunks with no lighting (wiki suggests that "decorating" happens before "lighting") --- 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 d13b181..97c01c6 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -759,7 +759,7 @@ 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['Status'] in ("empty", "carved", "liquid_carved"): + if chunk_data['Status'] in ("empty", "carved", "liquid_carved", "decorated"): raise ChunkDoesntExist("Chunk %s,%s doesn't exist" % (x,z)) # Turn the Biomes array into a 16x16 numpy array