forked from SpongePowered/Mixin
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
See ishland/EarlyLoadingScreen#1
It appears that Mixin is checking whether the class is loaded before calling shouldApplyMixin, causing this to happen:
Mixin/src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java
Lines 940 to 956 in 9213536
| for (Object target : this.readTargets(mixin)) { | |
| DeclaredTarget declaredTarget = DeclaredTarget.of(target, this); | |
| if (declaredTarget == null) { | |
| continue; | |
| } | |
| if (tracker != null && tracker.isClassLoaded(declaredTarget.name) && !this.isReloading()) { | |
| String message = String.format("Critical problem: %s target %s was loaded too early.", this, declaredTarget.name); | |
| if (this.parent.isRequired()) { | |
| throw new MixinTargetAlreadyLoadedException(this, message, declaredTarget.name); | |
| } | |
| this.logger.error(message); | |
| } | |
| if (this.shouldApplyMixin(ignorePlugin, declaredTarget.name)) { | |
| declaredTargets.add(declaredTarget); | |
| } | |
| } |
404Setup
Metadata
Metadata
Assignees
Labels
No labels