Fixed duplication bug with autocrafting, fixes #1500
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user