diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-11-07 01:59:12 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-11-07 01:59:12 +0000 |
commit | ab2e8f94f084bb1381ba8df604990796f63f5fc0 (patch) | |
tree | 053b8552794cfbb09c5ddb9064a87bf7bf558509 /EssentialsGroupManager | |
parent | cf9ef461822f9480d5d7c3de26489a061bc05b1e (diff) | |
download | Essentials-ab2e8f94f084bb1381ba8df604990796f63f5fc0.tar Essentials-ab2e8f94f084bb1381ba8df604990796f63f5fc0.tar.gz Essentials-ab2e8f94f084bb1381ba8df604990796f63f5fc0.tar.lz Essentials-ab2e8f94f084bb1381ba8df604990796f63f5fc0.tar.xz Essentials-ab2e8f94f084bb1381ba8df604990796f63f5fc0.zip |
Fix for Users file being flagged as updated when it wasn't.
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java | 4 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java index ce1693fc4..80291d066 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/WorldDataHolder.java @@ -669,7 +669,7 @@ public class WorldDataHolder { ph.removeGroupsChangedFlag(); // Update the LastModified time. ph.groupsFile = groupsFile; - ph.setTimeStamps(); + ph.setTimeStampGroups(groupsFile.lastModified()); //return ph; } @@ -776,7 +776,7 @@ public class WorldDataHolder { ph.removeUsersChangedFlag(); // Update the LastModified time. ph.usersFile = usersFile; - ph.setTimeStamps(); + ph.setTimeStampUsers(usersFile.lastModified()); //return ph; } diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index bf7b290ae..6544bb1cc 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -200,8 +200,8 @@ public class WorldsHolder { //Check for newer file as no local changes. if (w.getTimeStampGroups() < w.getGroupsFile().lastModified()) { System.out.print("Newer Groups file found (Loading changes)!"); - // Backup Users file - backupFile(w,false); + // Backup Groups file + backupFile(w,true); w.reloadGroups(); } } |