Fix #1614
This commit is contained in:
parent
20b1874e2c
commit
7fe876fe73
2 changed files with 21 additions and 17 deletions
|
@ -137,7 +137,7 @@ public abstract class BaseRecipe implements IBaseRecipeType, Cloneable {
|
|||
throw new InvalidParameterException("input is invalid!");
|
||||
}
|
||||
}
|
||||
if (RecipeTranslator.getStackFromObject(inuput) == null) {
|
||||
if (RecipeTranslator.getStackFromObject(inuput) == null || RecipeTranslator.getStackFromObject(inuput).isEmpty()) {
|
||||
throw new InvalidParameterException("Could not determin recipe input for " + inuput);
|
||||
}
|
||||
inputs.add(inuput);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue