fix a nonsense dupe glitch

This commit is contained in:
Shadows_of_Fire 2017-07-07 13:55:24 -04:00
parent fa31c65c9f
commit 5160ac2ea8

View file

@ -123,7 +123,7 @@ public class ContainerCrafter extends Container{
IRecipe output = CraftingManager.findMatchingRecipe(this.craftMatrix, this.world); IRecipe output = CraftingManager.findMatchingRecipe(this.craftMatrix, this.world);
ItemStack stack = ItemStack.EMPTY; ItemStack stack = ItemStack.EMPTY;
if(output != null) stack = output.getRecipeOutput(); if(output != null) stack = output.getRecipeOutput();
this.craftResult.setInventorySlotContents(0, stack); this.craftResult.setInventorySlotContents(0, stack.copy());
} }
@Override @Override