diff options
| author | Technus <daniel112092@gmail.com> | 2017-09-20 17:39:18 +0200 |
|---|---|---|
| committer | Technus <daniel112092@gmail.com> | 2017-09-20 17:39:18 +0200 |
| commit | 20d3f78fab595e509b6179368fafe91f0e990d7b (patch) | |
| tree | 77ab56fcff1350e402291b98d6abbe802a1b6c16 /src/main/java/gregtech/api | |
| parent | 6981976ea762cbf62212cfa56fddde4d3ad6f5da (diff) | |
| download | GT5-Unofficial-20d3f78fab595e509b6179368fafe91f0e990d7b.tar.gz GT5-Unofficial-20d3f78fab595e509b6179368fafe91f0e990d7b.tar.bz2 GT5-Unofficial-20d3f78fab595e509b6179368fafe91f0e990d7b.zip | |
Optimize
Diffstat (limited to 'src/main/java/gregtech/api')
| -rw-r--r-- | src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Transformer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Transformer.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Transformer.java index cf3b550b18..4ca764791f 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Transformer.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Transformer.java @@ -112,7 +112,7 @@ public class GT_MetaTileEntity_Transformer extends GT_MetaTileEntity_TieredMachi @Override public long getMinimumStoredEU() { - return 512; + return V[mTier + 1]; } @Override @@ -132,12 +132,12 @@ public class GT_MetaTileEntity_Transformer extends GT_MetaTileEntity_TieredMachi @Override public long maxAmperesOut() { - return getBaseMetaTileEntity().isActive() ? (V[mTier + 1] / V[mTier] < 4 ? 4 : V[mTier + 1] / V[mTier]) : 1; + return getBaseMetaTileEntity().isActive() ? 4 : 1; } @Override public long maxAmperesIn() { - return getBaseMetaTileEntity().isActive() ? 1 : (V[mTier + 1] / V[mTier] < 4 ? 4 : V[mTier + 1] / V[mTier]); + return getBaseMetaTileEntity().isActive() ? 1 : 4; } @Override |
