region file mtimes are no longer used, to fix a bug on windows
This commit is contained in:
@@ -439,9 +439,12 @@ class QuadtreeGen(object):
|
|||||||
needs_rerender = True
|
needs_rerender = True
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user