The Great Refactor of 2017 - Extractor Recipes

This commit is contained in:
Prospector 2017-01-03 09:32:55 -08:00
parent bd4103b7df
commit 1215c47fc2
3 changed files with 57 additions and 11 deletions

View file

@ -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);
}