Fix native plugin loading

This commit is contained in:
Daniel Bulant 2020-03-01 19:33:11 +01:00
parent 7e68d0e4d6
commit 4dc5212eda

View file

@ -22,7 +22,8 @@ module.exports = class Hooks {
e(this);
} else {
if(e.native){
return app.use(e.exec);
app.use(e.exec);
continue;
}
if(!e.enabled || !e.exec)continue;
this._plugins.push(e);