diff options
author | snowleo <schneeleo@gmail.com> | 2011-10-11 12:48:44 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-10-11 12:49:10 +0200 |
commit | 5851c5a88bfafd0446f0c167de022fc16cc928ad (patch) | |
tree | 1276febd5c27fbedd1b5f06d20df4dea767ca04b /EssentialsGroupManager/src/org | |
parent | 1c1726cfa43a765e724d349db80b482db2d5240d (diff) | |
download | Essentials-5851c5a88bfafd0446f0c167de022fc16cc928ad.tar Essentials-5851c5a88bfafd0446f0c167de022fc16cc928ad.tar.gz Essentials-5851c5a88bfafd0446f0c167de022fc16cc928ad.tar.lz Essentials-5851c5a88bfafd0446f0c167de022fc16cc928ad.tar.xz Essentials-5851c5a88bfafd0446f0c167de022fc16cc928ad.zip |
Changes for new Bukkit
Diffstat (limited to 'EssentialsGroupManager/src/org')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 4 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index 0fe8a15d4..23cd1e9b5 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -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; } diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index 50e6ef547..0bcf9a827 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -111,7 +111,7 @@ public class WorldsHolder { @SuppressWarnings("rawtypes") public void mirrorSetUp() { mirrors.clear(); - Map<String, Object> mirrorsMap = plugin.getConfig().getMirrorsMap(); + Map<String, Object> mirrorsMap = plugin.getGMConfig().getMirrorsMap(); if (mirrorsMap != null) { for (String source : mirrorsMap.keySet()) { // Make sure all non mirrored worlds have a set of data files. |