diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-02-28 10:46:10 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-02-28 10:46:10 +0000 |
commit | a36136689e5c527dcfaf60d909d96674e6111f8d (patch) | |
tree | 010a5c59e860dfcd71aa560fa9e0b1f66e7ab3d3 /EssentialsGroupManager/src/org/anjocaido | |
parent | 78fef80bafd0e5aaad82210840b4416753614047 (diff) | |
download | Essentials-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/src/org/anjocaido')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 18 |
1 files changed, 9 insertions, 9 deletions
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) { |