aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorGlease <4586901+glease@users.noreply.github.com>2020-12-29 23:09:38 +0800
committerGlease <4586901+Glease@users.noreply.github.com>2020-12-29 23:09:38 +0800
commiteb2f20e5ed7e9c0d572928bb57a99d3f47c8fb11 (patch)
treea5b5acb2f4611b7613beb0d94027ca42f28b322c /src/main/java/gregtech/common
parentc3defc0dd1bc4a6cf3ab3fddcb44f969a85934ec (diff)
downloadGT5-Unofficial-eb2f20e5ed7e9c0d572928bb57a99d3f47c8fb11.tar.gz
GT5-Unofficial-eb2f20e5ed7e9c0d572928bb57a99d3f47c8fb11.tar.bz2
GT5-Unofficial-eb2f20e5ed7e9c0d572928bb57a99d3f47c8fb11.zip
Remove leftover code of logistics energy cost
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
index d62e7c67f7..f8784d570f 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java
@@ -50,13 +50,7 @@ public class GT_Cover_FluidRegulator extends GT_CoverBehavior {
tLiquid = tLiquid.copy();
tLiquid.amount = tTank2.fill(directionTo, tLiquid, false);
if (tLiquid.amount > 0) {
- if (aTileEntity.getUniversalEnergyCapacity() >= Math.min(1, tLiquid.amount / 10)) {
- if (aTileEntity.isUniversalEnergyStored(Math.min(1, tLiquid.amount / 10))) {
- tTank2.fill(directionTo, tTank1.drain(directionFrom, tLiquid.amount, true), true);
- }
- } else {
- tTank2.fill(directionTo, tTank1.drain(directionFrom, tLiquid.amount, true), true);
- }
+ tTank2.fill(directionTo, tTank1.drain(directionFrom, tLiquid.amount, true), true);
}
}
}