1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-26 06:09:15 +02:00

Change Service registration to register WorldsHolder instead of

AnjoPermissionsHandler. This is the correct entry point for all data.
This commit is contained in:
ElgarL
2012-02-11 10:36:55 +00:00
parent 97bd49e598
commit c0517c1203
2 changed files with 3 additions and 2 deletions

View File

@@ -158,7 +158,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.Lowest);
this.getServer().getServicesManager().register(WorldsHolder.class, this.worldsHolder, this, ServicePriority.Lowest);
}
public static boolean isLoaded() {