|
@ -1120,7 +1120,7 @@ class MTChunks: |
|
|
break |
|
|
break |
|
|
ins.close() |
|
|
ins.close() |
|
|
player_index = None |
|
|
player_index = None |
|
|
this_player = None |
|
|
#this_player = None |
|
|
is_changed = False |
|
|
is_changed = False |
|
|
#(mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime) = os.stat(file_path) |
|
|
#(mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime) = os.stat(file_path) |
|
|
moved_mtime = time.gmtime() |
|
|
moved_mtime = time.gmtime() |
|
@ -1131,8 +1131,8 @@ class MTChunks: |
|
|
#this_mtime_string = datetime.strftime(mtime, INTERNAL_TIME_FORMAT_STRING) |
|
|
#this_mtime_string = datetime.strftime(mtime, INTERNAL_TIME_FORMAT_STRING) |
|
|
if file_name in self.players: |
|
|
if file_name in self.players: |
|
|
#this_player = self.players[file_name] |
|
|
#this_player = self.players[file_name] |
|
|
if ("utc_mtime" not in this_player): |
|
|
if ("utc_mtime" not in self.players[file_name]): |
|
|
#or (this_player["utc_mtime"]!=this_mtime_string): |
|
|
#or (self.players[file_name]["utc_mtime"]!=this_mtime_string): |
|
|
self.players[file_name]["utc_mtime"]=this_mtime_string |
|
|
self.players[file_name]["utc_mtime"]=this_mtime_string |
|
|
is_changed = True |
|
|
is_changed = True |
|
|
#not necessarily moved--even if resaved by server, may not have moved a whole block or at all |
|
|
#not necessarily moved--even if resaved by server, may not have moved a whole block or at all |
|
@ -1182,7 +1182,7 @@ class MTChunks: |
|
|
|
|
|
|
|
|
#if is_enough_data: |
|
|
#if is_enough_data: |
|
|
#if player_name!="singleplayer": |
|
|
#if player_name!="singleplayer": |
|
|
#this_player = get_dict_from_conf_file(player_dest_path,":") |
|
|
#self.players[file_name] = get_dict_from_conf_file(player_dest_path,":") |
|
|
#map_player_position_tuple = None |
|
|
#map_player_position_tuple = None |
|
|
saved_player_x = None |
|
|
saved_player_x = None |
|
|
saved_player_y = None |
|
|
saved_player_y = None |
|
|