shedaniel 5 年之前
父节点
当前提交
ec06a3df19
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      gradle.properties
  2. 3 3
      src/main/java/me/shedaniel/rei/impl/RecipeHelperImpl.java

+ 1 - 1
gradle.properties

@@ -1,4 +1,4 @@
-mod_version=3.2.6-unstable
+mod_version=3.2.7-unstable
 minecraft_version=19w45a
 yarn_version=19w45a+build.2
 fabricloader_version=0.6.3+build.168

+ 3 - 3
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);
             }
         }