mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
#822 3 sand to 1 quite clear glass in alloy furnace
This commit is contained in:
1 parent
53ecd773af
commit
6fd5883379
1 file changed
+6
-4
@@ -23,14 +23,16 @@ public abstract class AbstractMachineRecipe implements IMachineRecipe {
|
||||
@Override
|
||||
public List<MachineRecipeInput> getQuantitiesConsumed(MachineRecipeInput[] inputs) {
|
||||
IRecipe rec = getRecipeForInputs(inputs);
|
||||
List<MachineRecipeInput> result = new ArrayList<MachineRecipeInput>();
|
||||
for (MachineRecipeInput input : inputs) {
|
||||
if(input != null && (input.item != null || input.fluid != null)) {
|
||||
for (RecipeInput ri : rec.getInputs()) {
|
||||
List<MachineRecipeInput> result = new ArrayList<MachineRecipeInput>();
|
||||
for (RecipeInput ri : rec.getInputs()) {
|
||||
for (MachineRecipeInput input : inputs) {
|
||||
if(input != null && (input.item != null || input.fluid != null)) {
|
||||
if(ri.isInput(input.item)) {
|
||||
result.add(new MachineRecipeInput(input.slotNumber, ri.getInput().copy()));
|
||||
break;
|
||||
} else if(ri.isInput(input.fluid)) {
|
||||
result.add(new MachineRecipeInput(input.slotNumber, ri.getFluidInput().copy()));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user