From 179f294a3829bb5743ac25ebe89bc6140a7668ac Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 15 Nov 2019 12:30:37 +0800 Subject: 3.2.7 --- src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); } } -- cgit