0

region file mtimes are no longer used, to fix a bug on windows

This commit is contained in:
Aaron Griffith
2011-10-16 15:22:45 -04:00
parent d77673f406
commit f8d43ca470

View File

@@ -440,8 +440,11 @@ class QuadtreeGen(object):
break break
# check region file mtime first. # check region file mtime first.
if regionMtime <= tile_mtime: # on windows (and possibly elsewhere) minecraft won't update
continue # the region file mtime until after shutdown.
# for servers this is unacceptable, so skip this check.
#if regionMtime <= tile_mtime:
# continue
# checking chunk mtime # checking chunk mtime
if region.get_chunk_timestamp(chunkx, chunky) > tile_mtime: if region.get_chunk_timestamp(chunkx, chunky) > tile_mtime: