Fixed advanced machine item input logic

This commit is contained in:
aidancbrady 2015-05-23 11:44:19 -04:00
parent 4613dcb55f
commit 654bce3c7d

View file

@ -256,7 +256,10 @@ public abstract class TileEntityAdvancedElectricMachine<RECIPE extends AdvancedM
}
else if(slotID == 0)
{
return RecipeHandler.getRecipe(new AdvancedMachineInput(itemstack, gasTank.getGasType()), getRecipes()) != null;
for(AdvancedMachineInput input : getRecipes().keySet())
{
return input.itemStack.isItemEqual(itemstack);
}
}
else if(slotID == 3)
{