try to fix #51

This commit is contained in:
PrototypeTrousers
2021-08-22 23:59:02 -03:00
parent 8f2a06e457
commit 01778794e5
5 changed files with 5 additions and 5 deletions
@@ -147,7 +147,7 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
}
}
}
final int outputLength = this.isCrafting ? CRAFTING_OUTPUT_LIMIT : PROCESSING_OUTPUT_LIMIT;
final int outputLength = out.size();
this.inputs = in.toArray(new IAEItemStack[ALL_INPUT_LIMIT]);
this.outputs = out.toArray(new IAEItemStack[outputLength]);