Skip to content

Commit c0c39a1

Browse files
committed
fix size check
1 parent 244dd81 commit c0c39a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/glodblock/github/integration/jei/RecipeTransferBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private void setFluidIn(int offset) {
106106
}
107107

108108
private void setOutputs() {
109-
for (int index = 0; index < this.out.size(); index ++) {
109+
for (int index = 0; index < this.itemOut.size() + this.fluidOut.size(); index ++) {
110110
if (index < this.itemOut.size()) {
111111
this.out.add(this.itemOut.get(index));
112112
} else if (index - this.itemOut.size() < this.fluidOut.size()) {

0 commit comments

Comments
 (0)