diff options
| author | Glease <4586901+glease@users.noreply.github.com> | 2020-12-29 20:46:28 +0800 |
|---|---|---|
| committer | Glease <4586901+Glease@users.noreply.github.com> | 2020-12-29 20:46:28 +0800 |
| commit | c3defc0dd1bc4a6cf3ab3fddcb44f969a85934ec (patch) | |
| tree | 88e7a5fd539314675ee6fef7a1328f4a3fa72829 /src/main/java/gregtech/common/covers | |
| parent | 748fe043379899876ee079d3d414f50b5dfad9b6 (diff) | |
| download | GT5-Unofficial-c3defc0dd1bc4a6cf3ab3fddcb44f969a85934ec.tar.gz GT5-Unofficial-c3defc0dd1bc4a6cf3ab3fddcb44f969a85934ec.tar.bz2 GT5-Unofficial-c3defc0dd1bc4a6cf3ab3fddcb44f969a85934ec.zip | |
Remove all energy cost of moving fluid and items
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common/covers')
| -rw-r--r-- | src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java | 1 |
1 files changed, 0 insertions, 1 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 39c87669f1..d62e7c67f7 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_FluidRegulator.java @@ -52,7 +52,6 @@ public class GT_Cover_FluidRegulator extends GT_CoverBehavior { if (tLiquid.amount > 0) { if (aTileEntity.getUniversalEnergyCapacity() >= Math.min(1, tLiquid.amount / 10)) { if (aTileEntity.isUniversalEnergyStored(Math.min(1, tLiquid.amount / 10))) { - aTileEntity.decreaseStoredEnergyUnits(Math.min(1, tLiquid.amount / 10), true); tTank2.fill(directionTo, tTank1.drain(directionFrom, tLiquid.amount, true), true); } } else { |
