diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-12-18 04:25:54 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-12-18 04:25:54 +0000 |
commit | ac77bbb0b4f405598b8fc8271d520818d0646da9 (patch) | |
tree | 2870806efdc485876274753a0cc04bfcd8e4b2fa | |
parent | 815a9dcca22b108c158fcf41035edac2ff4b7178 (diff) | |
download | Essentials-ac77bbb0b4f405598b8fc8271d520818d0646da9.tar Essentials-ac77bbb0b4f405598b8fc8271d520818d0646da9.tar.gz Essentials-ac77bbb0b4f405598b8fc8271d520818d0646da9.tar.lz Essentials-ac77bbb0b4f405598b8fc8271d520818d0646da9.tar.xz Essentials-ac77bbb0b4f405598b8fc8271d520818d0646da9.zip |
Changed ServicesManager registration to lowest from normal.
-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 1f5f0313d..76782e99a 100644 --- a/EssentialsGroupManager/src/Changelog.txt +++ b/EssentialsGroupManager/src/Changelog.txt @@ -86,4 +86,5 @@ v 1.7: - Added custom events so plugins can now be notified of changes within GroupManager.
- GM now registers with Bukkits ServicesManager.
- deleting the contents of GlobalGroups.yml will no longer thrown a NullPointerException.
- - Removed op permissions from admins in the default GloblaGroups.yml.
\ No newline at end of file + - Removed op permissions from admins in the default GloblaGroups.yml.
+ - Changed ServicesManager registration to lowest from normal.
\ 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 2d46e74c8..c51efb8be 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -161,7 +161,7 @@ public class GroupManager extends JavaPlugin { System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!"); // Register as a service - this.getServer().getServicesManager().register(AnjoPermissionsHandler.class, this.permissionHandler, this, ServicePriority.Normal); + this.getServer().getServicesManager().register(AnjoPermissionsHandler.class, this.permissionHandler, this, ServicePriority.Lowest); } public static boolean isLoaded() { |