From ddd998fe31874b842a4a03f1861c20b044efdba5 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Wed, 1 Oct 2014 11:41:52 +0200 Subject: [PATCH] Throw the throwables --- src/main/java/appeng/recipes/handlers/Crusher.java | 2 +- src/main/java/appeng/recipes/handlers/Grind.java | 2 +- src/main/java/appeng/recipes/handlers/GrindFZ.java | 2 +- src/main/java/appeng/recipes/handlers/HCCrusher.java | 2 +- src/main/java/appeng/recipes/handlers/Macerator.java | 2 +- src/main/java/appeng/recipes/handlers/MekCrusher.java | 2 +- src/main/java/appeng/recipes/handlers/MekEnrichment.java | 2 +- src/main/java/appeng/recipes/handlers/Pulverizer.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/appeng/recipes/handlers/Crusher.java b/src/main/java/appeng/recipes/handlers/Crusher.java index 569b7b9a..187f4db3 100644 --- a/src/main/java/appeng/recipes/handlers/Crusher.java +++ b/src/main/java/appeng/recipes/handlers/Crusher.java @@ -34,7 +34,7 @@ public class Crusher implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Crusher must have a single input, and single output." ); + throw new RecipeError( "Crusher must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/Grind.java b/src/main/java/appeng/recipes/handlers/Grind.java index 14b52d76..e0b7193b 100644 --- a/src/main/java/appeng/recipes/handlers/Grind.java +++ b/src/main/java/appeng/recipes/handlers/Grind.java @@ -31,7 +31,7 @@ public class Grind implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Grind must have a single input, and single output." ); + throw new RecipeError( "Grind must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/GrindFZ.java b/src/main/java/appeng/recipes/handlers/GrindFZ.java index 0ea48e24..adf194b7 100644 --- a/src/main/java/appeng/recipes/handlers/GrindFZ.java +++ b/src/main/java/appeng/recipes/handlers/GrindFZ.java @@ -34,7 +34,7 @@ public class GrindFZ implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Grind must have a single input, and single output." ); + throw new RecipeError( "Grind must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/HCCrusher.java b/src/main/java/appeng/recipes/handlers/HCCrusher.java index e905c19f..dbd2991c 100644 --- a/src/main/java/appeng/recipes/handlers/HCCrusher.java +++ b/src/main/java/appeng/recipes/handlers/HCCrusher.java @@ -33,7 +33,7 @@ public class HCCrusher implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Crusher must have a single input, and single output." ); + throw new RecipeError( "Crusher must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/Macerator.java b/src/main/java/appeng/recipes/handlers/Macerator.java index ba5918a2..cca08ef2 100644 --- a/src/main/java/appeng/recipes/handlers/Macerator.java +++ b/src/main/java/appeng/recipes/handlers/Macerator.java @@ -34,7 +34,7 @@ public class Macerator implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Grind must have a single input, and single output." ); + throw new RecipeError( "Grind must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/MekCrusher.java b/src/main/java/appeng/recipes/handlers/MekCrusher.java index 820ec21b..b4af755d 100644 --- a/src/main/java/appeng/recipes/handlers/MekCrusher.java +++ b/src/main/java/appeng/recipes/handlers/MekCrusher.java @@ -34,7 +34,7 @@ public class MekCrusher implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "MekCrusher must have a single input, and single output." ); + throw new RecipeError( "MekCrusher must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/MekEnrichment.java b/src/main/java/appeng/recipes/handlers/MekEnrichment.java index 7f065dc3..e1a9c02b 100644 --- a/src/main/java/appeng/recipes/handlers/MekEnrichment.java +++ b/src/main/java/appeng/recipes/handlers/MekEnrichment.java @@ -34,7 +34,7 @@ public class MekEnrichment implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "MekCrusher must have a single input, and single output." ); + throw new RecipeError( "MekCrusher must have a single input, and single output." ); } @Override diff --git a/src/main/java/appeng/recipes/handlers/Pulverizer.java b/src/main/java/appeng/recipes/handlers/Pulverizer.java index c85f426d..9261fe80 100644 --- a/src/main/java/appeng/recipes/handlers/Pulverizer.java +++ b/src/main/java/appeng/recipes/handlers/Pulverizer.java @@ -32,7 +32,7 @@ public class Pulverizer implements ICraftHandler, IWebsiteSerializer return; } } - new RecipeError( "Grind must have a single input, and single output." ); + throw new RecipeError( "Grind must have a single input, and single output." ); } @Override