diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-11-28 23:49:19 +0000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2021-11-28 23:49:19 +0000 |
commit | 258679b1d299e653695cd9c94e5e36db0791d0a2 (patch) | |
tree | 8445d5c5e33c5b94864da4d04f8c9556a662f01c /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity | |
parent | b5ae11304fe9ff7cafeabbb55095fb58e17031b7 (diff) | |
download | GT5-Unofficial-258679b1d299e653695cd9c94e5e36db0791d0a2.tar.gz GT5-Unofficial-258679b1d299e653695cd9c94e5e36db0791d0a2.tar.bz2 GT5-Unofficial-258679b1d299e653695cd9c94e5e36db0791d0a2.zip |
Moved all Nuclear recipes to their own class.
Fixed Air Intake working when disabled.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_AirIntake.java | 2 |
1 files changed, 1 insertions, 1 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 a7d395b0a1..5559aaad58 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 @@ -126,7 +126,7 @@ public class GT_MetaTileEntity_Hatch_AirIntake extends GT_MetaTileEntity_Hatch_I public void onPostTick(final IGregTechTileEntity aBaseMetaTileEntity, final long aTick) { super.onPostTick(aBaseMetaTileEntity, aTick); - if (addAirToHatch(aTick)) { + if (this.getBaseMetaTileEntity().isActive() && addAirToHatch(aTick)) { if (aTick % 8 == 0) { if (aBaseMetaTileEntity.isClientSide()) { this.pollutionParticles(this.getBaseMetaTileEntity().getWorld(), "cloud"); |