Theme and Plugin

Hi guys,

Had a problem getting a plugin to check the custom theme first.
How can I do this?

I put in the suggestions on :

using array_unshift but I can’t get the plugin to check the theme first then the plugin /templates directory.

So far had this nightmare that I edited a plugin template to have it destroyed on the plugin next upgrade.
Just wanted the user/theme/template to take precedence and not the user/plugin/template when it comes to twigs.

Can I do that?