aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/util/GT_RecipeBuilder.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/gregtech/api/util/GT_RecipeBuilder.java b/src/main/java/gregtech/api/util/GT_RecipeBuilder.java
index 07132420c7..da6fd0aec8 100644
--- a/src/main/java/gregtech/api/util/GT_RecipeBuilder.java
+++ b/src/main/java/gregtech/api/util/GT_RecipeBuilder.java
@@ -157,12 +157,9 @@ public class GT_RecipeBuilder {
}
GT_Log.err.print("Recipe collision resulting in recipe loss detected with ");
GT_Log.err.println(details);
- if (PANIC_MODE) {
- throw new IllegalArgumentException("Recipe Collision");
- } else {
- // place a breakpoint here to catch all these issues
- new IllegalArgumentException().printStackTrace(GT_Log.err);
- }
+ // place a breakpoint here to catch all these issues
+ new IllegalArgumentException().printStackTrace(GT_Log.err);
+ // at least for now, do not crash in panic mode over collisions.
}
// endregion