summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-02-28 10:46:10 +0000
committerElgarL <ElgarL@palmergames.com>2012-02-28 10:46:10 +0000
commita36136689e5c527dcfaf60d909d96674e6111f8d (patch)
tree010a5c59e860dfcd71aa560fa9e0b1f66e7ab3d3 /EssentialsGroupManager
parent78fef80bafd0e5aaad82210840b4416753614047 (diff)
downloadEssentials-a36136689e5c527dcfaf60d909d96674e6111f8d.tar
Essentials-a36136689e5c527dcfaf60d909d96674e6111f8d.tar.gz
Essentials-a36136689e5c527dcfaf60d909d96674e6111f8d.tar.lz
Essentials-a36136689e5c527dcfaf60d909d96674e6111f8d.tar.xz
Essentials-a36136689e5c527dcfaf60d909d96674e6111f8d.zip
Make 'manload' reload the config correctly.
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/Changelog.txt3
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java18
2 files changed, 11 insertions, 10 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt
index 1159607ed..9d7187690 100644
--- a/EssentialsGroupManager/src/Changelog.txt
+++ b/EssentialsGroupManager/src/Changelog.txt
@@ -145,4 +145,5 @@ v 1.9:
- Update for Bukkit R5 compatability.
- Removed BukkitPermsOverride as this is now the default with bukkit handling child nodes.
- Prevent adding inheritances and info nodes to globalgroups. These are permissions collections, not player groups.
- - Prevent promoting players to, and demoting to GlobalGroups. \ No newline at end of file
+ - Prevent promoting players to, and demoting to GlobalGroups.
+ - Make 'manload' reload the config correctly. \ No newline at end of file
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index b0d46ca1a..00c71a41e 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -121,15 +121,15 @@ public class GroupManager extends JavaPlugin {
ch = new GMLoggerHandler();
GroupManager.logger.addHandler(ch);
logger.setLevel(Level.ALL);
- if (worldsHolder == null) {
- // Create the backup folder, if it doesn't exist.
- prepareFileFields();
- // Load the config.yml
- prepareConfig();
- // Load the global groups
- globalGroups = new GlobalGroups(this);
- worldsHolder = new WorldsHolder(this);
- }
+
+ // Create the backup folder, if it doesn't exist.
+ prepareFileFields();
+ // Load the config.yml
+ prepareConfig();
+ // Load the global groups
+ globalGroups = new GlobalGroups(this);
+ worldsHolder = new WorldsHolder(this);
+
PluginDescriptionFile pdfFile = this.getDescription();
if (worldsHolder == null) {