mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-21 02:42:01 +00:00
Changed ServicesManager registration to lowest from normal.
This commit is contained in:
parent
815a9dcca2
commit
ac77bbb0b4
|
@ -86,4 +86,5 @@ v 1.7:
|
||||||
- Added custom events so plugins can now be notified of changes within GroupManager.
|
- Added custom events so plugins can now be notified of changes within GroupManager.
|
||||||
- GM now registers with Bukkits ServicesManager.
|
- GM now registers with Bukkits ServicesManager.
|
||||||
- deleting the contents of GlobalGroups.yml will no longer thrown a NullPointerException.
|
- 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.
|
|
@ -161,7 +161,7 @@ public class GroupManager extends JavaPlugin {
|
||||||
System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!");
|
System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!");
|
||||||
|
|
||||||
// Register as a service
|
// 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() {
|
public static boolean isLoaded() {
|
||||||
|
|
Loading…
Reference in a new issue