Allow class transformers to be run multiple times
Aaron1011 opened this issue ยท 2 comments
The Mixin project, which is used by Sponge and other coremods, causes class transformers to be run twice. The first time occurs during startup, when Mixin sets up its internal state, and checks for problems with loaded Mixin classes. The second time occurs when the class is actually loaded.
Currently, AstralSorcery only allows each transformation to run once. To ensure that AstralSorcery is compatible with Mixin projects, this check should be removed (or changed to allow each transformer to run at most twice).