diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-04-12 03:21:38 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-04-12 03:21:38 +0100 |
commit | f9b44317f0e4e20b497a4478c07b186bb329c150 (patch) | |
tree | 55cf8a137c079dc50fd606e7d18327a810bd361f /EssentialsGroupManager/src | |
parent | 93b685d2cee5858f79a59a0799a7a7b96cc09d0e (diff) | |
download | Essentials-f9b44317f0e4e20b497a4478c07b186bb329c150.tar Essentials-f9b44317f0e4e20b497a4478c07b186bb329c150.tar.gz Essentials-f9b44317f0e4e20b497a4478c07b186bb329c150.tar.lz Essentials-f9b44317f0e4e20b497a4478c07b186bb329c150.tar.xz Essentials-f9b44317f0e4e20b497a4478c07b186bb329c150.zip |
Unregister the worldsHolder as a service on a reload/shutdown instead of
the whole plugin.
Diffstat (limited to 'EssentialsGroupManager/src')
-rw-r--r-- | EssentialsGroupManager/src/Changelog.txt | 3 | ||||
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt index 0bf6c47bf..648f5d1de 100644 --- a/EssentialsGroupManager/src/Changelog.txt +++ b/EssentialsGroupManager/src/Changelog.txt @@ -175,4 +175,5 @@ v 2.0: - Startup errors will now lock out ALL commands other than '/manload'
- Fix 'manuadd' to use the default or selected world (via 'manselect'), if the world is not specified in the command.
- Expand GlobalGroups.yml and groups.yml to cover the VanishNoPacket plugin. Demonstrating how to negate and add nodes when using the '*' permission with inheritance.
- - Fix silly nested throw/catch statements. Errors are now correctly generated when reading yml's.
\ No newline at end of file + - Fix silly nested throw/catch statements. Errors are now correctly generated when reading yml's.
+ - Unregister the worldsHolder as a service on a reload/shutdown instead of the whole plugin.
\ 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 1177e3357..1c4011ff8 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -98,7 +98,7 @@ public class GroupManager extends JavaPlugin { setLoaded(false); // Un-register this service. - this.getServer().getServicesManager().unregister(this); + this.getServer().getServicesManager().unregister(this.worldsHolder); disableScheduler(); // Shutdown before we save, so it doesn't interfere. if (worldsHolder != null) { |