diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/FoodCrafting.java b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/FoodCrafting.java index 527d9a8ca..d2cb5a0b0 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/FoodCrafting.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/crafting/FoodCrafting.java @@ -56,7 +56,7 @@ public class FoodCrafting{ //Bacon if(ConfigCrafting.BACON.isEnabled()){ GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 3, TheFoods.BACON.ordinal()), - knifeStack, new ItemStack(Items.cooked_porkchop))); + knifeStack.copy(), new ItemStack(Items.cooked_porkchop))); recipeBacon = Util.GetRecipes.lastIRecipe(); } @@ -74,7 +74,7 @@ public class FoodCrafting{ 'M', new ItemStack(Blocks.brown_mushroom), 'C', "cropCarrot", 'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD), - 'K', knifeStack, + 'K', knifeStack.copy(), 'H', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()))); recipePizza = Util.GetRecipes.lastIRecipe(); } @@ -85,7 +85,7 @@ public class FoodCrafting{ "KT ", "CB ", " T ", 'T', new ItemStack(InitItems.itemFoods, 1, TheFoods.TOAST.ordinal()), 'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()), - 'K', knifeStack, + 'K', knifeStack.copy(), 'B', new ItemStack(Items.cooked_beef))); recipeHamburger = Util.GetRecipes.lastIRecipe(); } @@ -107,7 +107,7 @@ public class FoodCrafting{ 'C', new ItemStack(InitItems.itemFoods, 1, TheFoods.CHEESE.ordinal()), 'F', new ItemStack(Items.cooked_fish, 1, Util.WILDCARD), 'B', new ItemStack(InitItems.itemFoods, 1, TheFoods.BAGUETTE.ordinal()), - 'K', knifeStack)); + 'K', knifeStack.copy())); recipeSubSandwich = Util.GetRecipes.lastIRecipe(); } @@ -115,7 +115,7 @@ public class FoodCrafting{ if(ConfigCrafting.FRENCH_FRY.isEnabled()){ GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 2, TheFoods.FRENCH_FRY.ordinal()), new ItemStack(Items.baked_potato), - knifeStack)); + knifeStack.copy())); recipeFrenchFry = Util.GetRecipes.lastIRecipe(); } @@ -157,7 +157,7 @@ public class FoodCrafting{ //Carrot Juice if(ConfigCrafting.CARROT_JUICE.isEnabled()){ GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.CARROT_JUICE.ordinal()), - new ItemStack(Items.glass_bottle), "cropCarrot", knifeStack)); + new ItemStack(Items.glass_bottle), "cropCarrot", knifeStack.copy())); recipeCarrotJuice = Util.GetRecipes.lastIRecipe(); } @@ -173,7 +173,7 @@ public class FoodCrafting{ //Noodle if(ConfigCrafting.NOODLE.isEnabled()){ GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemFoods, 1, TheFoods.NOODLE.ordinal()), - "cropWheat", knifeStack)); + "cropWheat", knifeStack.copy())); recipeNoodle = Util.GetRecipes.lastIRecipe(); }