1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 01:51:58 +02:00

Changes for new Bukkit

This commit is contained in:
snowleo
2011-10-11 12:48:44 +02:00
parent 717a714392
commit 7a03eeca1b
4 changed files with 40 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ public class GroupManager extends JavaPlugin {
}
};
scheduler = new ScheduledThreadPoolExecutor(1);
int minutes = getConfig().getSaveInterval();
int minutes = getGMConfig().getSaveInterval();
scheduler.scheduleAtFixedRate(commiter, minutes, minutes, TimeUnit.MINUTES);
GroupManager.logger.info("Scheduled Data Saving is set for every " + minutes + " minutes!");
}
@@ -1749,7 +1749,7 @@ public class GroupManager extends JavaPlugin {
/**
* @return the config
*/
public GMConfiguration getConfig() {
public GMConfiguration getGMConfig() {
return config;
}