Merge pull request #220 from thatsIch/throwables

Throw the throwables
This commit is contained in:
FireBall1725 2014-10-01 08:14:47 -04:00
commit 44b61868e2
8 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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