From 3d09bacb7174d3888ce9285389a08b63344a08da Mon Sep 17 00:00:00 2001 From: Technus Date: Fri, 18 Nov 2016 11:57:19 +0100 Subject: [PATCH] Not needed --- .../GT_MetaTileEntity_Hatch_Input.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Input.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Input.java index dbf5a3e4..4484347b 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Input.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Input.java @@ -59,28 +59,6 @@ public class GT_MetaTileEntity_Hatch_Input extends GT_MetaTileEntity_Hatch { 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 public boolean doesFillContainers() { return true;