Make Pressurized Tubes able to pull from IGasHandlers. Hopefully I didn't screw anything up too badly.

This commit is contained in:
Ben Spiers committed 2014-08-10 03:34:01 +01:00
1 parent c66f3a44b7
commit de880c5ab0
20 files changed
+102 -77

No files matched your search

@@ -878,11 +878,11 @@ public class TileEntityFactory extends TileEntityElectricBlock implements IPerip
}
@Override
public int receiveGas(ForgeDirection side, GasStack stack)
public int receiveGas(ForgeDirection side, GasStack stack, boolean doTransfer)
{
if(canReceiveGas(side, stack.getGas()))
{
return gasTank.receive(stack, true);
return gasTank.receive(stack, doTransfer);
}
return 0;
@@ -901,7 +901,7 @@ public class TileEntityFactory extends TileEntityElectricBlock implements IPerip
}
@Override
public GasStack drawGas(ForgeDirection side, int amount)
public GasStack drawGas(ForgeDirection side, int amount, boolean doTransfer)
{
return null;
}