Fixed advanced machine item input logic
This commit is contained in:
parent
4613dcb55f
commit
654bce3c7d
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue