if (!PipeManager.canExtractItems(null, tile.getWorldObj(), tile.xCoord, tile.yCoord, tile.zCoord))
return null;
if (tile instanceof TileEntityChest) {
TileEntityChest chest = (TileEntityChest) tile;
return new ChestWrapper(chest);
}
return getInventory((IInventory) tile, side);
}