openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Lots of "Script with the same name was already added (this was a but, please report!)" when adding MLHook to `export_dependencies` of MLFeed #357

Closed XertroV closed 8 months ago

XertroV commented 1 year ago

If I add MLHook to export_dependencies of MLFeed, I get lots of "Script with the same name was already added (this was a but, please report!)" errors. (That said, things seem to load)

Although all plugins using MLFeed already import MLHook, it'd be nice if they didn't have to, so I was experimenting with export_dependencies to see if the dependency experience could be improved (for devs).

image

codecat commented 8 months ago

This will now give a nicer warning on build:

image