Skip to content

Commit

Permalink
ignore "decorated" chunks
Browse files Browse the repository at this point in the history
This seems to fix lighting problems by ignoring chunks with no lighting (wiki suggests that "decorating" happens before "lighting")
  • Loading branch information
eminence authored Aug 8, 2018
1 parent e6ea080 commit 28dd058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overviewer_core/world.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ def get_chunk(self, x, z):
# 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
Expand Down

0 comments on commit 28dd058

Please sign in to comment.