summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-02-11 10:36:55 +0000
committerElgarL <ElgarL@palmergames.com>2012-02-11 10:36:55 +0000
commitc0517c120369ac6a1de954c9d049bd0a88ff8ea6 (patch)
tree59e081b12286958724fef061bc2c2f809a5cc89e /EssentialsGroupManager
parent97bd49e598ddb4725a19788098158c7bf9f1a55f (diff)
downloadEssentials-c0517c120369ac6a1de954c9d049bd0a88ff8ea6.tar
Essentials-c0517c120369ac6a1de954c9d049bd0a88ff8ea6.tar.gz
Essentials-c0517c120369ac6a1de954c9d049bd0a88ff8ea6.tar.lz
Essentials-c0517c120369ac6a1de954c9d049bd0a88ff8ea6.tar.xz
Essentials-c0517c120369ac6a1de954c9d049bd0a88ff8ea6.zip
Change Service registration to register WorldsHolder instead of
AnjoPermissionsHandler. This is the correct entry point for all data.
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/Changelog.txt3
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt
index 1e520efb3..b79d56d07 100644
--- a/EssentialsGroupManager/src/Changelog.txt
+++ b/EssentialsGroupManager/src/Changelog.txt
@@ -137,4 +137,5 @@ v 1.9:
- Fix a bug with getWorldData return the main world data for all mirrors, instead of the worlds parent data.
- Prevent getAllPlayersPermissions() processing a group more than once. Improves performance when using complex inheritance structures.
- Fix world mirroring so it correctly creates data files and data sources for partially mirrored worlds.
- - Fixed world mirroring so it returns the correct data for the requested world \ No newline at end of file
+ - Fixed world mirroring so it returns the correct data for the requested world.
+ - Change Service registration to register WorldsHolder instead of AnjoPermissionsHandler. This is the correct entry point for all data. \ 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 ab1ebebbb..b87d1de8c 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -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() {