Changed ServicesManager registration to lowest from normal.

This commit is contained in:
ElgarL 2011-12-18 04:25:54 +00:00
parent 815a9dcca2
commit ac77bbb0b4
2 changed files with 3 additions and 2 deletions

View file

@ -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.
- Removed op permissions from admins in the default GloblaGroups.yml.
- Changed ServicesManager registration to lowest from normal.

View file

@ -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() {