this was the issue all along
This would be the easy fix to my last commit.
This commit is contained in:
parent
efba3f247d
commit
06c21d2668
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public class RecipeCrafter {
|
||||||
for (int i = 0; i < currentRecipe.getOutputsSize(); i++) {
|
for (int i = 0; i < currentRecipe.getOutputsSize(); i++) {
|
||||||
System.out.println(currentRecipe.getOutput(i).stackSize);
|
System.out.println(currentRecipe.getOutput(i).stackSize);
|
||||||
if (!filledSlots.contains(outputSlots[i])) {//checks it has not been filled
|
if (!filledSlots.contains(outputSlots[i])) {//checks it has not been filled
|
||||||
fitStack(currentRecipe.getOutput(i), outputSlots[i]);//fills the slot with the output stack
|
fitStack(currentRecipe.getOutput(i).copy(), outputSlots[i]);//fills the slot with the output stack
|
||||||
filledSlots.add(outputSlots[i]);
|
filledSlots.add(outputSlots[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue