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 | 3823e7a108eaff2ecc65cb9221ad344d36f8c9ef (patch) | |
tree | 2edfc2e58af5196d4a6bfcd9aa976e698457de33 /EssentialsGroupManager/src/org/anjocaido | |
parent | 50bd5869bf18421918c6ef9f5ffe0fa46ccfb894 (diff) | |
download | Essentials-3823e7a108eaff2ecc65cb9221ad344d36f8c9ef.tar Essentials-3823e7a108eaff2ecc65cb9221ad344d36f8c9ef.tar.gz Essentials-3823e7a108eaff2ecc65cb9221ad344d36f8c9ef.tar.lz Essentials-3823e7a108eaff2ecc65cb9221ad344d36f8c9ef.tar.xz Essentials-3823e7a108eaff2ecc65cb9221ad344d36f8c9ef.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) { |