1st attempt on fixing small boilers automation.
This commit is contained in:
parent
77a3c956e5
commit
f16a5dab18
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue