Check to ensure level.dat has been updated
Error out if level.dat has not been updated. Also, cleaned up some debugging print statements
This commit is contained in:
2
chunk.py
2
chunk.py
@@ -141,7 +141,7 @@ def find_oldimage(chunkXY, cached, cave):
|
||||
if key in cached[cachename]:
|
||||
oldimg_path = cached[cachename][key]
|
||||
_, oldimg = os.path.split(oldimg_path)
|
||||
logging.debug("Found cached image {0}".format(oldimg))
|
||||
#logging.debug("Found cached image {0}".format(oldimg))
|
||||
return oldimg, oldimg_path
|
||||
|
||||
def check_cache(world, chunkXY, oldimg):
|
||||
|
||||
Reference in New Issue
Block a user