Not needed

This commit is contained in:
Technus 2016-11-18 11:57:19 +01:00
parent 9970cbd6ec
commit 3d09bacb71

View file

@ -59,28 +59,6 @@ public class GT_MetaTileEntity_Hatch_Input extends GT_MetaTileEntity_Hatch {
return true; return true;
} }
//TODO rewrite for intake
//@Override
//public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
// super.onPostTick(aBaseMetaTileEntity, aTick);
// if (aBaseMetaTileEntity.isServerSide() && aBaseMetaTileEntity.isAllowedToWork()) {
// IFluidHandler tTileEntity = aBaseMetaTileEntity.getITankContainerAtSide(aBaseMetaTileEntity.getFrontFacing());
// if (tTileEntity != null) {
// for (boolean temp = true; temp && mFluid != null; ) {
// temp = false;
// FluidStack tDrained = aBaseMetaTileEntity.drain(ForgeDirection.getOrientation(aBaseMetaTileEntity.getFrontFacing()), Math.max(1, mFluid.amount), false);
// if (tDrained != null) {
// int tFilledAmount = tTileEntity.fill(ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()), tDrained, false);
// if (tFilledAmount > 0) {
// temp = true;
// tTileEntity.fill(ForgeDirection.getOrientation(aBaseMetaTileEntity.getBackFacing()), aBaseMetaTileEntity.drain(ForgeDirection.getOrientation(aBaseMetaTileEntity.getFrontFacing()), tFilledAmount, true), true);
// }
// }
// }
// }
// }
//}
@Override @Override
public boolean doesFillContainers() { public boolean doesFillContainers() {
return true; return true;