mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
Backwards-compatibility for IGasHandler. #2267
This commit is contained in:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user