diff options
author | DreamMasterXXL <dream-master@gmx.net> | 2021-08-25 16:30:10 +0200 |
---|---|---|
committer | DreamMasterXXL <dream-master@gmx.net> | 2021-08-25 16:30:10 +0200 |
commit | e05f848689514bfc142826b1d731eb5526f6ff3d (patch) | |
tree | 6b384df25c3c0178a11f078a4dea30d08f2ea87d /src/Java/gtPlusPlus/xmod | |
parent | 1c00ffe8a568e25124cfe7796fa2e5e1a483a1eb (diff) | |
download | GT5-Unofficial-e05f848689514bfc142826b1d731eb5526f6ff3d.tar.gz GT5-Unofficial-e05f848689514bfc142826b1d731eb5526f6ff3d.tar.bz2 GT5-Unofficial-e05f848689514bfc142826b1d731eb5526f6ff3d.zip |
Revert "fix the problem of duping fluids"
This reverts commit 1c00ffe8a568e25124cfe7796fa2e5e1a483a1eb.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java index e86b887532..a7d395b0a1 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java @@ -214,10 +214,7 @@ public class GT_MetaTileEntity_Hatch_AirIntake extends GT_MetaTileEntity_Hatch_I return true; } - public boolean addAirToHatch(long aTick) { - if (this.mFluid != null) - if(this.mFluid.getFluid() != FluidUtils.getFluidStack("air", 1).getFluid()) - return false; + public boolean addAirToHatch(long aTick) { if (!this.getBaseMetaTileEntity().getAirAtSide(this.getBaseMetaTileEntity().getFrontFacing())) { return false; } |