Fix vat NEI handler showing fire for recipes with only one item

This commit is contained in:
tterrag1098 committed 2014-11-06 13:48:00 -05:00
1 parent 6dfb69903a
commit 561b5e1172
1 file changed
+7 -3
@@ -248,12 +248,16 @@ public class VatRecipeHandler extends TemplateRecipeHandler {
}
inputs = new ArrayList<PositionedStack>();
inputs.add(new PositionedStack(inputsOne, 51, 1));
inputs.add(new PositionedStack(inputsTwo, 100, 1));
if (inputsOne != null) {
inputs.add(new PositionedStack(inputsOne, 51, 1));
}
if (inputsTwo != null) {
inputs.add(new PositionedStack(inputsTwo, 100, 1));
}
this.energy = energy;
this.result = result;
}
}
}