From 64020b01e0af96aee2f43710053d767f05b98b55 Mon Sep 17 00:00:00 2001 From: Ourten Date: Sun, 15 Jan 2017 23:45:48 +0100 Subject: [PATCH] Fix AlloyFurnace ItemStack null reference, closes #901 --- src/main/java/techreborn/tiles/TileAlloyFurnace.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/tiles/TileAlloyFurnace.java b/src/main/java/techreborn/tiles/TileAlloyFurnace.java index fc7051a7b..134dc2daf 100644 --- a/src/main/java/techreborn/tiles/TileAlloyFurnace.java +++ b/src/main/java/techreborn/tiles/TileAlloyFurnace.java @@ -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);