Fix pressurized tubes not connecting to gas transmitters in external mods.
This commit is contained in:
parent
8e667efd7b
commit
9b356038f9
1 changed files with 1 additions and 1 deletions
|
@ -157,6 +157,6 @@ public class TileEntityPressurizedTube extends TileEntityTransmitter<GasNetwork>
|
||||||
@Override
|
@Override
|
||||||
public boolean canTransferGasToTube(TileEntity tile)
|
public boolean canTransferGasToTube(TileEntity tile)
|
||||||
{
|
{
|
||||||
return tile != null && tile.getClass().equals(this.getClass());
|
return tile instanceof IGasTransmitter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue