mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Plugins that still want a class for state use a private constructor, an async static fromContext and a static WeakMap lookup, which also replaces controller.plugins.get() for cross-plugin access. Check loadedPlugins with Set.has on the info from pluginInfos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>