diff options
author | Lyfts <127234178+Lyfts@users.noreply.github.com> | 2023-08-17 16:56:48 +0200 |
---|---|---|
committer | Lyfts <127234178+Lyfts@users.noreply.github.com> | 2023-08-17 16:56:48 +0200 |
commit | d0305767b9e4c891aa0b850abeebb96a7b9774c6 (patch) | |
tree | 8d823eb972104cc50c5dfaf3373c875e9c7da2ca /src/main | |
parent | c53663a85f114d419c325edbe88107b97a62f4b5 (diff) | |
download | GT5-Unofficial-d0305767b9e4c891aa0b850abeebb96a7b9774c6.tar.gz GT5-Unofficial-d0305767b9e4c891aa0b850abeebb96a7b9774c6.tar.bz2 GT5-Unofficial-d0305767b9e4c891aa0b850abeebb96a7b9774c6.zip |
allow max tier tfft to build with energy hatch
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/common/tileentities/GTMTE_TFFT.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_TFFT.java b/src/main/java/common/tileentities/GTMTE_TFFT.java index fa69df2026..02a709bdd5 100644 --- a/src/main/java/common/tileentities/GTMTE_TFFT.java +++ b/src/main/java/common/tileentities/GTMTE_TFFT.java @@ -400,7 +400,11 @@ public class GTMTE_TFFT extends GT_MetaTileEntity_EnhancedMultiBlockBase<GTMTE_T if (tfftHatch != null) tfftHatch.bind(this); - return !mEnergyHatches.isEmpty() ^ this.runningCost == 0; + if (this.runningCost == 0) { + return true; + } + + return !mEnergyHatches.isEmpty(); } return false; } |