Closed josbyte closed 9 months ago
Shouldn't cross-plugin calls be initialized after all plugins are loaded instead? I can see a pair of plugins that'd have cross calls configured between each other, which would just be impossible with the current setup
It might just be that the docs are wrong. Perhaps the definitions import shouldn't be done until the LoadSettings hook. Needs testing
Yes that was my bad. Communicators must be done in the LoadSettings hook.
If a plugin, for example, is called objectSpawn, and it has a pluginCall grabing createSolar from the plugin Solar Control, it will fail as when the ObjectSpawn is loaded, SolarControl still isnt loaded, making the pluginCall resulting in null