mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed advanced machine item input logic
This commit is contained in:
1 parent
4613dcb55f
commit
654bce3c7d
1 file changed
+4
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user