diff options
author | Martin Robertz <dream-master@gmx.net> | 2021-04-18 21:51:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 21:51:56 +0200 |
commit | 7c526103068c562590eb2a45a42528c3eaf180ce (patch) | |
tree | 718fead4966d94738f1bdbe0d6f3e77d07b700d7 /src/main/java | |
parent | df2caa3ea1befd449f27e60240084312993d40c1 (diff) | |
parent | 38db4d659e3a9dd5ce2709265f5994863c6de916 (diff) | |
download | GT5-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.java | 13 |
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(); + } } |