aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2021-04-18 21:51:56 +0200
committerGitHub <noreply@github.com>2021-04-18 21:51:56 +0200
commit7c526103068c562590eb2a45a42528c3eaf180ce (patch)
tree718fead4966d94738f1bdbe0d6f3e77d07b700d7 /src/main/java
parentdf2caa3ea1befd449f27e60240084312993d40c1 (diff)
parent38db4d659e3a9dd5ce2709265f5994863c6de916 (diff)
downloadGT5-Unofficial-7c526103068c562590eb2a45a42528c3eaf180ce.tar.gz
GT5-Unofficial-7c526103068c562590eb2a45a42528c3eaf180ce.tar.bz2
GT5-Unofficial-7c526103068c562590eb2a45a42528c3eaf180ce.zip
Merge pull request #13 from MatthewCOwen/master
LSC Controller now works properly with EU Detector Cover
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
index bea7ea2ec5..07d99fbdb9 100644
--- a/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
+++ b/src/main/java/common/tileentities/GTMTE_LapotronicSuperCapacitor.java
@@ -558,5 +558,16 @@ public class GTMTE_LapotronicSuperCapacitor extends GT_MetaTileEntity_MultiBlock
@Override
public boolean explodesOnComponentBreak(ItemStack stack) { return false; }
-
+
+ @Override
+ public long maxEUStore()
+ {
+ return capacity.longValue();
+ }
+
+ @Override
+ public long getEUVar()
+ {
+ return stored.longValue();
+ }
}