Changed the DinnerPerms priority to not be overridden by permissions bridges

This commit is contained in:
zml2008 2011-08-01 21:10:13 -07:00
parent cb7ec82905
commit 9343b3d1a8

View File

@ -41,10 +41,10 @@ public PermissionsResolverManager(Configuration config, Server server, String na
} }
public void findResolver() { public void findResolver() {
if (tryDinnerPerms()) return;
if (tryPluginPermissionsResolver()) return; if (tryPluginPermissionsResolver()) return;
if (tryNijiPermissions()) return; if (tryNijiPermissions()) return;
if (tryFlatFilePermissions()) return; if (tryFlatFilePermissions()) return;
if (tryDinnerPerms()) return;
perms = new ConfigurationPermissionsResolver(config); perms = new ConfigurationPermissionsResolver(config);
logger.info(name + ": No known permissions plugin detected. Using configuration file for permissions."); logger.info(name + ": No known permissions plugin detected. Using configuration file for permissions.");