Backwards-compatibility for IGasHandler. #2267

This commit is contained in:
Ben Spiers committed 2015-03-22 14:36:21 +00:00
1 parent 050f3351e2
commit 0064f09d8c
20 files changed
+212 -2

No files matched your search

@@ -993,6 +993,12 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
return 0;
}
@Override
public int receiveGas(ForgeDirection side, GasStack stack)
{
return receiveGas(side, stack, true);
}
@Override
public boolean canReceiveGas(ForgeDirection side, Gas type)
{
@@ -1021,6 +1027,12 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
return null;
}
@Override
public GasStack drawGas(ForgeDirection side, int amount)
{
return drawGas(side, amount, true);
}
@Override
public boolean canDrawGas(ForgeDirection side, Gas type)
{