From f1c7ab93f19c9fb30d4bc14d4921da0e6b1c352a Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Sun, 5 May 2019 15:17:43 +0200 Subject: [PATCH] world: remove lit chunk check Apparently not even chunks of that data version can be relied upon to have that flag mean anything at all, as the --forceUpgrade and --eraseCache switches result in a world where chunks are flagged as not being lit but seemingly do have SkyLight and BlockLight keys. Concerns #1570. --- overviewer_core/world.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/overviewer_core/world.py b/overviewer_core/world.py index d62af8b..a32628a 100644 --- a/overviewer_core/world.py +++ b/overviewer_core/world.py @@ -1310,9 +1310,6 @@ class RegionSet(object): 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): - raise ChunkDoesntExist("Chunk %s,%s isn't lit" % (x,z)) # Turn the Biomes array into a 16x16 numpy arra if 'Biomes' in chunk_data and len(chunk_data['Biomes']) > 0: