aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/covers/GT_Cover_Arm.java
diff options
context:
space:
mode:
authorDavid Lindström <info@davidlindstrom.se>2020-12-19 21:00:33 +0100
committerDavid Lindström <info@davidlindstrom.se>2020-12-19 21:00:33 +0100
commit59bb965c928a4ee8b1d86edf34c856c105cdcff0 (patch)
tree58276c19fb04e19135d82015861d6901537a8a01 /src/main/java/gregtech/common/covers/GT_Cover_Arm.java
parent677ca610b6d4789fa71153531d0911008012f7ac (diff)
downloadGT5-Unofficial-59bb965c928a4ee8b1d86edf34c856c105cdcff0.tar.gz
GT5-Unofficial-59bb965c928a4ee8b1d86edf34c856c105cdcff0.tar.bz2
GT5-Unofficial-59bb965c928a4ee8b1d86edf34c856c105cdcff0.zip
Remove EU costs from covers
Diffstat (limited to 'src/main/java/gregtech/common/covers/GT_Cover_Arm.java')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_Arm.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java
index 77558e001d..c07f1f7a3a 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_Arm.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_Arm.java
@@ -43,15 +43,6 @@ public class GT_Cover_Arm
aCoverVariable = CONVERTED_BIT | Math.min(Math.abs(aCoverVariable-1), SLOT_ID_MASK);
}
- boolean usePower = false;
- if (aTileEntity.getUniversalEnergyCapacity() >= 128L) {
- if (aTileEntity.isUniversalEnergyStored(256L)) {
- usePower = true;
- } else {
- return aCoverVariable;
- }
- }
-
TileEntity toTile, fromTile;
int toSlot, fromSlot;
@@ -98,9 +89,6 @@ public class GT_Cover_Arm
movedItems = GT_Utility.moveOneItemStack(fromTile, toTile, fromSide, toSide, null, false, (byte)64, (byte)1, (byte)64, (byte)1);
}
- if (usePower)
- aTileEntity.decreaseStoredEnergyUnits(4*movedItems, true);
-
return aCoverVariable;
}