Fix AlloyFurnace ItemStack null reference, closes #901
This commit is contained in:
parent
09d4a98c97
commit
64020b01e0
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ implements IWrenchable, IInventoryProvider, IContainerProvider {
|
|||
*/
|
||||
public void smeltItem() {
|
||||
if (this.canSmelt()) {
|
||||
ItemStack itemstack = null;
|
||||
ItemStack itemstack = ItemStack.EMPTY;
|
||||
for (final IBaseRecipeType recipeType : RecipeHandler.getRecipeClassFromName(Reference.alloySmelteRecipe)) {
|
||||
if (this.hasAllInputs(recipeType)) {
|
||||
itemstack = recipeType.getOutput(0);
|
||||
|
|
Loading…
Reference in a new issue