The Great Refactor of 2017 - Extractor Recipes
This commit is contained in:
parent
bd4103b7df
commit
1215c47fc2
3 changed files with 57 additions and 11 deletions
|
@ -41,7 +41,7 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
|
|||
|
||||
public void addOutput(ItemStack stack) {
|
||||
if (stack == null || stack.isEmpty()) {
|
||||
throw new InvalidParameterException("output is invalid!");
|
||||
throw new InvalidParameterException("Output stack is null or empty");
|
||||
}
|
||||
outputs.add(stack);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue