From 8e8fa4c9d0b8fdc628dcc1b8421669941069d86e Mon Sep 17 00:00:00 2001 From: sk89q Date: Mon, 17 Jan 2011 16:49:06 -0800 Subject: [PATCH] Made the PermissionsResolverManager catch Throwable just in case. --- src/com/sk89q/bukkit/migration/PermissionsResolverManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/sk89q/bukkit/migration/PermissionsResolverManager.java b/src/com/sk89q/bukkit/migration/PermissionsResolverManager.java index 08c5be985..d2b28e021 100644 --- a/src/com/sk89q/bukkit/migration/PermissionsResolverManager.java +++ b/src/com/sk89q/bukkit/migration/PermissionsResolverManager.java @@ -54,6 +54,9 @@ public class PermissionsResolverManager implements PermissionsResolver { } catch (MissingPluginException e) { perms = new ConfigurationPermissionsResolver(config); 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)"); } }