diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java b/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java index fd013ae51..4d59851d8 100644 --- a/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java +++ b/src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java @@ -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); } } |
