diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-11-15 05:28:56 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-11-15 05:28:56 +1000 |
commit | 04118a76458b4e6c886454081dd3695b62660f80 (patch) | |
tree | e1811dac86275d3b20f1744c3af7f6285fb4f4a2 /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base | |
parent | f5f5d246723fce0aaa01bf72d47bb2120d9eb5d1 (diff) | |
download | GT5-Unofficial-04118a76458b4e6c886454081dd3695b62660f80.tar.gz GT5-Unofficial-04118a76458b4e6c886454081dd3695b62660f80.tar.bz2 GT5-Unofficial-04118a76458b4e6c886454081dd3695b62660f80.zip |
$ Fixed Charge Hatches not having the correct amount of inputs.
$ Fixed Charge Hatches correctly handling electric items.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java index df86584a69..e9831d96e0 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base/GregtechMeta_MultiBlockBase.java @@ -164,9 +164,9 @@ public abstract class GregtechMeta_MultiBlockBase @Override public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { - this.mChargeHatches.clear(); - this.mDischargeHatches.clear(); super.onPostTick(aBaseMetaTileEntity, aTick); + //this.mChargeHatches.clear(); + //this.mDischargeHatches.clear(); } @Override @@ -203,10 +203,7 @@ public abstract class GregtechMeta_MultiBlockBase IMetaTileEntity aMetaTileEntity = aTileEntity.getMetaTileEntity(); if (aMetaTileEntity == null) return false; - if (aMetaTileEntity instanceof GT_MetaTileEntity_Hatch) { - ((GT_MetaTileEntity_Hatch) aMetaTileEntity) - .updateTexture(aBaseCasingIndex); - } + if (aMetaTileEntity instanceof GT_MetaTileEntity_Hatch_InputBattery) return this.mChargeHatches.add( (GT_MetaTileEntity_Hatch_InputBattery) aMetaTileEntity); |