From 024604e204fca27006c3c9ad70bc3958dd1654f1 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sun, 13 Mar 2011 20:39:45 -0700 Subject: [PATCH] Fixed the permissions resolver not being loaded if it was loaded after a plugin was enabled or re-enabled. --- .../bukkit/migration/PermissionsResolverServerListener.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sk89q/bukkit/migration/PermissionsResolverServerListener.java b/src/com/sk89q/bukkit/migration/PermissionsResolverServerListener.java index 007a3b6e0..9bfa73809 100644 --- a/src/com/sk89q/bukkit/migration/PermissionsResolverServerListener.java +++ b/src/com/sk89q/bukkit/migration/PermissionsResolverServerListener.java @@ -46,6 +46,7 @@ public class PermissionsResolverServerListener extends ServerListener { manager.setPluginPermissionsResolver(plugin); } else if (name.equalsIgnoreCase("GroupUsers") || name.equalsIgnoreCase("Permissions")) { manager.findResolver(); + manager.load(); } } @@ -63,6 +64,7 @@ public class PermissionsResolverServerListener extends ServerListener { || name.equalsIgnoreCase("GroupUsers") || name.equalsIgnoreCase("Permissions")) { manager.findResolver(); + manager.load(); } }