mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
Made the PermissionsResolverManager catch Throwable just in case.
This commit is contained in:
parent
7c24c7eadc
commit
8e8fa4c9d0
@ -54,6 +54,9 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
} catch (MissingPluginException e) {
|
} catch (MissingPluginException e) {
|
||||||
perms = new ConfigurationPermissionsResolver(config);
|
perms = new ConfigurationPermissionsResolver(config);
|
||||||
logger.info(name + ": No known permissions plugin detected. Using configuration file for permissions. (code: 11)");
|
logger.info(name + ": No known permissions plugin detected. Using configuration file for permissions. (code: 11)");
|
||||||
|
} catch (Throwable e) {
|
||||||
|
perms = new ConfigurationPermissionsResolver(config);
|
||||||
|
logger.info(name + ": No known permissions plugin detected. Using configuration file for permissions. (code: 12)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user