diff options
| author | shedaniel <daniel@shedaniel.me> | 2019-11-15 12:30:37 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2019-11-15 12:30:37 +0800 |
| commit | 179f294a3829bb5743ac25ebe89bc6140a7668ac (patch) | |
| tree | 08ca5a3367e83ce13d52d3937aeea17f24011837 /src/main/java | |
| parent | 3bcd325f2d9454753990c2ea2b06b7947c118d3d (diff) | |
| download | RoughlyEnoughItems-179f294a3829bb5743ac25ebe89bc6140a7668ac.tar.gz RoughlyEnoughItems-179f294a3829bb5743ac25ebe89bc6140a7668ac.tar.bz2 RoughlyEnoughItems-179f294a3829bb5743ac25ebe89bc6140a7668ac.zip | |
3.2.7
Diffstat (limited to 'src/main/java')
| -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); } } |
