|
@@ -259,7 +259,7 @@ public class RecipeHelperImpl implements RecipeHelper {
|
|
|
}
|
|
|
if (plugin instanceof REIPluginV0)
|
|
|
((REIPluginV0) plugin).preRegister();
|
|
|
- } catch (Exception e) {
|
|
|
+ } catch (Throwable e) {
|
|
|
RoughlyEnoughItemsCore.LOGGER.error("[REI] " + plugin.getPluginIdentifier().toString() + " plugin failed to pre register!", e);
|
|
|
}
|
|
|
}
|
|
@@ -278,7 +278,7 @@ public class RecipeHelperImpl implements RecipeHelper {
|
|
|
} else {
|
|
|
throw new IllegalStateException("Invaild Plugin Class!");
|
|
|
}
|
|
|
- } catch (Exception e) {
|
|
|
+ } catch (Throwable e) {
|
|
|
RoughlyEnoughItemsCore.LOGGER.error("[REI] " + identifier.toString() + " plugin failed to load!", e);
|
|
|
}
|
|
|
}
|
|
@@ -289,7 +289,7 @@ public class RecipeHelperImpl implements RecipeHelper {
|
|
|
return;
|
|
|
if (plugin instanceof REIPluginV0)
|
|
|
((REIPluginV0) plugin).postRegister();
|
|
|
- } catch (Exception e) {
|
|
|
+ } catch (Throwable e) {
|
|
|
RoughlyEnoughItemsCore.LOGGER.error("[REI] " + plugin.getPluginIdentifier().toString() + " plugin failed to post register!", e);
|
|
|
}
|
|
|
}
|