mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix recipes only working once
This commit is contained in:
1 parent
6aa2ad30fe
commit
f1e4cd28e2
2 files changed
+2
-2
No files matched your search
@@ -55,7 +55,7 @@ public class ShapedMekanismRecipe extends ShapedOreRecipe {
|
||||
@Override
|
||||
public ItemStack getCraftingResult(@Nonnull InventoryCrafting inv)
|
||||
{
|
||||
return RecipeUtils.getCraftingResult(inv, output);
|
||||
return RecipeUtils.getCraftingResult(inv, output.copy());
|
||||
}
|
||||
|
||||
public static ShapedMekanismRecipe create(NBTTagCompound nbtTags)
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ShapelessMekanismRecipe extends ShapelessOreRecipe {
|
||||
@Override
|
||||
public ItemStack getCraftingResult(@Nonnull InventoryCrafting inv)
|
||||
{
|
||||
return RecipeUtils.getCraftingResult(inv, output);
|
||||
return RecipeUtils.getCraftingResult(inv, output.copy());
|
||||
}
|
||||
|
||||
public static ShapelessMekanismRecipe create(NBTTagCompound nbtTags)
|
||||
|
||||
Reference in new issue
Block a user