Merge branch 'unstable' of https://github.com/mikhailkfv/GT5-Unofficial into unstable

This commit is contained in:
Mikhail 2023-07-13 12:29:48 -05:00
commit acf7c87c39

View file

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