JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.06k stars 271 forks source link

Plugins with dependancies still get loaded while the dependancies are missing. #2290

Open ewanhowell5195 opened 2 months ago

ewanhowell5195 commented 2 months ago

If you make a plugin that has dependancies, and those dependancies are not installed, blockbench will still try to load the plugin.

The expected behaviour is that the plugin will not load until all dependancies are met.

If this is intentional behaviour, maybe extend the dependancies system to have optional and required dependancies.

JannisX11 commented 2 months ago

Yeah this wasn't part of the scope for the initial dependencies system, but it's definitely a good addition.

ewanhowell5195 commented 2 months ago

i would consider this a bug however:

dependancies are not forced to load after the plugins they depend on