1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 18:11:43 +02:00

Only output a Data update message if something has changed.

This commit is contained in:
ElgarL
2012-06-22 15:44:04 +01:00
parent 5683ea35fc
commit 656f25dc97
3 changed files with 11 additions and 4 deletions

View File

@@ -324,8 +324,8 @@ public class GroupManager extends JavaPlugin {
public void run() {
try {
worldsHolder.saveChanges(false);
GroupManager.logger.log(Level.INFO, " Data files refreshed.");
if (worldsHolder.saveChanges(false))
GroupManager.logger.log(Level.INFO, " Data files refreshed.");
} catch (IllegalStateException ex) {
GroupManager.logger.log(Level.WARNING, ex.getMessage());
}