Fixed duplication bug with autocrafting, fixes #1500

This commit is contained in:
raoulvdberge
2017-11-13 22:34:39 +01:00
parent 295cc68088
commit 0905f2fb90
2 changed files with 4 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ public class NetworkNodeCrafter extends NetworkNode implements ICraftingPatternC
ItemStack patternStack = patterns.getStackInSlot(i);
if (!patternStack.isEmpty()) {
ICraftingPattern pattern = ((ICraftingPatternProvider) patternStack.getItem()).create(world, patternStack, this);
ICraftingPattern pattern = ((ICraftingPatternProvider) patternStack.getItem()).create(world, patternStack.copy(), this);
if (pattern.isValid()) {
actualPatterns.add(pattern);