aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base
diff options
context:
space:
mode:
authorAlkalus <draknyte1@hotmail.com>2017-11-15 05:28:56 +1000
committerAlkalus <draknyte1@hotmail.com>2017-11-15 05:28:56 +1000
commit04118a76458b4e6c886454081dd3695b62660f80 (patch)
treee1811dac86275d3b20f1744c3af7f6285fb4f4a2 /src/Java/gtPlusPlus/xmod/gregtech/api/metatileentity/implementations/base
parentf5f5d246723fce0aaa01bf72d47bb2120d9eb5d1 (diff)
downloadGT5-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.java9
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);