1st attempt on fixing small boilers automation.

This commit is contained in:
Isaac Pellicer 2022-07-08 13:22:34 +02:00
parent 77a3c956e5
commit f16a5dab18

View file

@ -255,14 +255,14 @@ public abstract class GT_MetaTileEntity_Boiler
public boolean allowPullStack(IGregTechTileEntity aBaseMetaTileEntity, int aIndex, byte aSide, ItemStack aStack) {
if (GT_Mod.gregtechproxy.mAllowSmallBoilerAutomation)
return true;
return aIndex == 1 || aIndex == 3;
else
return false;
}
public boolean allowPutStack(IGregTechTileEntity aBaseMetaTileEntity, int aIndex, byte aSide, ItemStack aStack) {
if(GT_Mod.gregtechproxy.mAllowSmallBoilerAutomation)
return true;
return aIndex == 2;
else
return false;
}