diff options
author | xSkewer <43712386+xSkewer@users.noreply.github.com> | 2022-07-15 18:04:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 23:04:29 +0100 |
commit | 8fc4503cdbd2a5232ff6cf823a82a4bd9b912e85 (patch) | |
tree | fcd9fb5b1c6973be29ac04aafe3b6f0b243ee952 | |
parent | 020dca009f48e004d4ef694dfb74249685881cff (diff) | |
download | GT5-Unofficial-8fc4503cdbd2a5232ff6cf823a82a4bd9b912e85.tar.gz GT5-Unofficial-8fc4503cdbd2a5232ff6cf823a82a4bd9b912e85.tar.bz2 GT5-Unofficial-8fc4503cdbd2a5232ff6cf823a82a4bd9b912e85.zip |
Prevent XL Turbines from exploding from low tier dynamo (#241)
Seems sensible, not sure why this wasn't the case already honestly.
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java index 5a521e3a39..624d70b23d 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/turbines/GregtechMetaTileEntity_LargerTurbineBase.java @@ -625,7 +625,7 @@ public abstract class GregtechMetaTileEntity_LargerTurbineBase extends GregtechM } @Override public boolean explodesOnComponentBreak(ItemStack aStack) { - return true; + return false; } public boolean isLooseMode() { @@ -889,11 +889,6 @@ public abstract class GregtechMetaTileEntity_LargerTurbineBase extends GregtechM } } - if (totalOutput < aEU || (aFoundMixedDynamos && !aAllowMixedVoltageDynamos)) { - explodeMultiblock(); - return false; - } - long leftToInject; long aVoltage; int aAmpsToInject; |