diff options
author | Steelux <70096037+Steelux8@users.noreply.github.com> | 2022-05-25 22:49:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 23:49:07 +0200 |
commit | 54571d8a8498833ffc43cbdab891bf08a6e212a7 (patch) | |
tree | 3825aedb08ee1023814a4f9a80f65ebcf0fb4ea4 /src/main/java/gtPlusPlus/xmod | |
parent | e16602a481fd7d798e7b0b0f7b004f5aa4b4d32f (diff) | |
download | GT5-Unofficial-54571d8a8498833ffc43cbdab891bf08a6e212a7.tar.gz GT5-Unofficial-54571d8a8498833ffc43cbdab891bf08a6e212a7.tar.bz2 GT5-Unofficial-54571d8a8498833ffc43cbdab891bf08a6e212a7.zip |
LFTR Fixes and Changes (#187)
- Changed the name of most LFTR-related chemicals to make it easier to distinguish and document them;
- Changed the recipes of the LFTR's controller and inner casings to be craftable in IV, the tier which this multi is first intended for;
- Fixed a bug where the LFTR would output the fluids of the last successfully recipe while heating up, on every tick. When it's heating up, it now sets the output fluids to an empty array. There are better ways to do this, I welcome an improvement to this part of the code.
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java index 1f6ae41be2..ed16db1f4d 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java @@ -368,6 +368,8 @@ public class GregtechMTE_NuclearReactor extends GregtechMeta_MultiBlockBase<Greg // Warm up for 4~ minutes Logger.WARNING("Checking LFTR recipes."); if (mEfficiency < this.getMaxEfficiency(null)) { + this.mOutputItems = new ItemStack[]{}; + this.mOutputFluids = new FluidStack[]{}; this.mProgresstime = 0; this.mMaxProgresstime = 1; this.mEfficiencyIncrease = 2; |